From f62cab411ad29f36119ad9ee5bd3192ae0d9088f Mon Sep 17 00:00:00 2001 From: Yoojin Park Date: Tue, 27 Nov 2018 17:55:01 +0900 Subject: [PATCH] [RAMEN9610-9418][R10P0][KERNEL]gpu: To avoid CFI failure. CFI is Control Flow Integrity. CFI will make graph to verify the code-flows. If code-flows don't match with graph generated, It will make the failure. Change-Id: Ic04be25e9858e432968b08e0c9203b778a0e20b0 Signed-off-by: Yoojin Park --- drivers/gpu/arm/tHEx/r10p0/platform/exynos/gpu_dvfs_governor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/arm/tHEx/r10p0/platform/exynos/gpu_dvfs_governor.c b/drivers/gpu/arm/tHEx/r10p0/platform/exynos/gpu_dvfs_governor.c index a323f7a7b7c5..422cb79b516c 100644 --- a/drivers/gpu/arm/tHEx/r10p0/platform/exynos/gpu_dvfs_governor.c +++ b/drivers/gpu/arm/tHEx/r10p0/platform/exynos/gpu_dvfs_governor.c @@ -31,7 +31,7 @@ #endif /* CONFIG_CPU_THERMAL_IPA */ #ifdef CONFIG_MALI_DVFS -typedef void (*GET_NEXT_LEVEL)(struct exynos_context *platform, int utilization); +typedef int (*GET_NEXT_LEVEL)(struct exynos_context *platform, int utilization); GET_NEXT_LEVEL gpu_dvfs_get_next_level; static int gpu_dvfs_governor_default(struct exynos_context *platform, int utilization); -- 2.20.1