From 7241f32c494129f277e3f0c760a55fd36bea7286 Mon Sep 17 00:00:00 2001 From: Rajesh Kemisetti Date: Wed, 17 May 2017 15:43:43 +0530 Subject: [PATCH] ARM: dts: msm: Defer regulator disable for SDM660 GPU SMMU IOMMU driver takes vote on regulator for every unmap, attach or detach call and removes it once done. This is an overhead if GPU is in power collapse mode and huge number of unmap calls are pending from a given context. It would end up in turning ON/OFF the regulator those many times. To optimize this, do a deferred regulator disable about 80ms so that all subsequent requests to regulator enable will be just refcounted. Change-Id: I816156f1bdf34a2c0cb8171c2ca1df6b3ae8fe72 Signed-off-by: Rajesh Kemisetti --- arch/arm/boot/dts/qcom/msm-arm-smmu-660.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom/msm-arm-smmu-660.dtsi b/arch/arm/boot/dts/qcom/msm-arm-smmu-660.dtsi index 33bd86654363..06935e80e07b 100644 --- a/arch/arm/boot/dts/qcom/msm-arm-smmu-660.dtsi +++ b/arch/arm/boot/dts/qcom/msm-arm-smmu-660.dtsi @@ -157,6 +157,7 @@ , , ; + qcom,deferred-regulator-disable-delay = <80>; vdd-supply = <&gdsc_gpu_cx>; clocks = <&clock_gcc GCC_GPU_CFG_AHB_CLK>, <&clock_gcc GCC_BIMC_GFX_CLK>,