Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f304b0a8 authored by Hareesh Gundu's avatar Hareesh Gundu
Browse files

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: default avatarHareesh Gundu <hareeshg@codeaurora.org>
parent 560a996d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -155,6 +155,7 @@
		interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
			   <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
			   <GIC_SPI 331 IRQ_TYPE_EDGE_RISING>;
		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>,