@@ -42,13 +42,13 @@ static char *governor_list[G3D_MAX_GOVERNOR_NUM] = {"Default", "Static", "Booste
42
42
static gpu_dvfs_info gpu_dvfs_infotbl_default [] = {
43
43
/* vol,clk,min,max,down stay, pm_qos mem, pm_qos int, pm_qos cpu_kfc_min, pm_qos cpu_egl_max */
44
44
#if SOC_NAME == 5422
45
- {812500 , 177 , 0 , 90 , 2 , 0 , 275000 , 222000 , 0 , CPU_MAX },
46
- {862500 , 266 , 60 , 90 , 1 , 0 , 413000 , 222000 , 0 , CPU_MAX },
47
- {912500 , 350 , 70 , 90 , 1 , 0 , 728000 , 333000 , 0 , CPU_MAX },
48
- {962500 , 420 , 78 , 90 , 1 , 0 , 825000 , 400000 , 0 , CPU_MAX },
49
- {1000000 , 480 , 90 , 99 , 1 , 0 , 825000 , 400000 , 1000000 , 1600000 },
45
+ {812500 , 177 , 0 , 3 , 2 , 0 , 275000 , 222000 , 0 , CPU_MAX },
46
+ {862500 , 266 , 4 , 6 , 1 , 0 , 413000 , 222000 , 0 , CPU_MAX },
47
+ {912500 , 350 , 7 , 10 , 1 , 0 , 728000 , 333000 , 0 , CPU_MAX },
48
+ {962500 , 420 , 11 , 14 , 1 , 0 , 825000 , 400000 , 0 , CPU_MAX },
49
+ {1000000 , 480 , 15 , 20 , 1 , 0 , 825000 , 400000 , 1000000 , 1600000 },
50
50
#ifdef CONFIG_SOC_EXYNOS5422_REV_0
51
- {1037500 , 543 , 99 , 100 , 1 , 0 , 825000 , 400000 , 1000000 , 1600000 },
51
+ {1037500 , 543 , 21 , 100 , 1 , 0 , 825000 , 400000 , 1000000 , 1600000 },
52
52
#else
53
53
{1037500 , 533 , 99 , 100 , 1 , 0 , 825000 , 400000 , 1000000 , 1600000 },
54
54
#endif /* CONFIG_SOC_EXYNOS5422_REV_0 */
@@ -81,6 +81,10 @@ static int gpu_abb_infobl_default[] = {900000, 900000, 950000, 1000000, 1075000,
81
81
static int gpu_dvfs_governor_default (struct kbase_device * kbdev , int utilization )
82
82
{
83
83
struct exynos_context * platform ;
84
+ /* HACK: On Linux es2gears and glmark2-es2 doesn't utilize 100%
85
+ * of the GPU. So we need to keep it on the high frequency to get
86
+ * proper performance. */
87
+ utilization = 100 ;
84
88
85
89
platform = (struct exynos_context * ) kbdev -> platform_context ;
86
90
if (!platform )
0 commit comments