From f304b0a865cc07abd79bb8dc50c06824330407ee Mon Sep 17 00:00:00 2001 From: Hareesh Gundu Date: Thu, 22 Jun 2017 14:50:55 +0530 Subject: [PATCH] ARM: dts: msm: Defer regulator disable for msm8998 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: I07709f5a0ce55298a5fe46ffd95bb8bc472e7069 Signed-off-by: Hareesh Gundu --- arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi b/arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi index da28e56bc2df..e4e488597efd 100644 --- a/arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi +++ b/arch/arm/boot/dts/qcom/msm-arm-smmu-8998.dtsi @@ -155,6 +155,7 @@ interrupts = , , ; + qcom,deferred-regulator-disable-delay = <80>; vdd-supply = <&gdsc_gpu_cx>; clocks = <&clock_gcc clk_gcc_gpu_cfg_ahb_clk>, <&clock_gcc clk_gcc_bimc_gfx_clk>,