diff --git a/arch/arm64/boot/dts/amlogic/mesong12a-bifrost.dtsi b/arch/arm64/boot/dts/amlogic/mesong12a-bifrost.dtsi index 4a7e51dbf67a..33886c457da5 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12a-bifrost.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12a-bifrost.dtsi @@ -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"; diff --git a/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index 4fa07730e742..aefb3e4583c2 100644 --- a/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/drivers/gpu/arm/midgard/platform/devicetree/scaling.c @@ -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;