ODROID-COMMON: lock gpu frequency to its maximum
authorMauro (mdrjr) Ribeiro <mauro.ribeiro@hardkernel.com>
Tue, 27 Nov 2018 01:50:22 +0000 (10:50 +0900)
committerDongjin Kim <tobetter@gmail.com>
Fri, 13 Mar 2020 09:08:44 +0000 (18:08 +0900)
Change-Id: Ic967f79a1bff001336a5e41a2bc644d5108ecb6a

arch/arm64/boot/dts/amlogic/mesong12a-bifrost.dtsi
drivers/gpu/arm/midgard/platform/devicetree/scaling.c

index 4a7e51d..33886c4 100644 (file)
@@ -33,6 +33,7 @@
 
                num_of_pp = <2>;
                sc_mpp = <1>; /* number of shader cores used most of time. */
+               min_clk = <4>;
                clocks = <&clkc CLKID_GPU_MUX &clkc CLKID_GP0_PLL>;
                clock-names = "gpu_mux","gp0_pll";
 
index 4fa0773..aefb3e4 100644 (file)
@@ -36,7 +36,7 @@ static int lastStep;
 static struct work_struct wq_work;
 static mali_plat_info_t* pmali_plat = NULL;
 #endif
-static int  scaling_mode = MALI_PP_FS_SCALING;
+static int  scaling_mode = MALI_SCALING_DISABLE;
 extern int  mali_pm_statue;
 //static int  scaling_mode = MALI_SCALING_DISABLE;
 //static int  scaling_mode = MALI_PP_SCALING;