From fbecfd709fc618cfd3726c3fec35b555b7aa225b Mon Sep 17 00:00:00 2001 From: Deepak Kumar Date: Tue, 28 Feb 2017 12:35:04 +0530 Subject: [PATCH] ARM: dts: msm: Enable midframe sampling timer on SDM660 This change enables midframe sampling timer which samples the GPU power stats if the command batch expiry takes longer than the threshold set by KGSL_GOVERNOR_CALL_INTERVAL. This will help the use cases where long running command batches were delaying GPU DCVS decision for increasing the frequency. Change-Id: I08ec8f3389c2140e1205096abc2c01f2d3882abc Signed-off-by: Deepak Kumar --- arch/arm/boot/dts/qcom/sdm660-gpu.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/qcom/sdm660-gpu.dtsi b/arch/arm/boot/dts/qcom/sdm660-gpu.dtsi index f5d61d440a27..c3c776be3209 100644 --- a/arch/arm/boot/dts/qcom/sdm660-gpu.dtsi +++ b/arch/arm/boot/dts/qcom/sdm660-gpu.dtsi @@ -141,6 +141,9 @@ qcom,gpu-speed-bin = <0x41a0 0x1fe00000 21>; + /* Enable midframe sampling */ + qcom,enable-midframe-timer; + /* GPU Mempools */ qcom,gpu-mempools { #address-cells= <1>;