From 27a82907466758190d32e673b24a7f4d6410f757 Mon Sep 17 00:00:00 2001 From: Kamal Agrawal Date: Wed, 4 Sep 2024 20:58:03 +0530 Subject: [PATCH] ARM: dts: msm: Add GMU CX GenPD instance Currently, there is a race condition in GenPD framework where GPU CX GDSC can remain ON if both GMU and KGSL SMMU devices are suspending in parallel and are voting on the same power domain. Use a dedicated power domain for CX GDSC voting as per latest recommendation. Change-Id: Iffeb9a7f24a5e3c31a425e57b021f87f8f94c7fb Signed-off-by: Kamal Agrawal --- bindings/adreno.txt | 5 +++-- gpu/sun-gpu.dtsi | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bindings/adreno.txt b/bindings/adreno.txt index dd426a95..6bc52486 100644 --- a/bindings/adreno.txt +++ b/bindings/adreno.txt @@ -80,8 +80,9 @@ Power Domains: - power-domains: List of PM domain specifiers that reference each power-domain used by the GPU - power-domain-names: List of names that represent each of the specifiers in the - 'power-domains' property. Includes 'gpu_cx' and 'gpu_gx' which - represent the power-domains for CX and GX GDSC, respectively. + 'power-domains' property. Includes 'cx', 'gx' and 'gmu_cx' + which represent the power-domains for CX GDSC, GX GDSC and + GMU CX GDSC respectively. IOMMU Data: - iommu: Phandle for the KGSL IOMMU device node diff --git a/gpu/sun-gpu.dtsi b/gpu/sun-gpu.dtsi index a3e97828..be457660 100644 --- a/gpu/sun-gpu.dtsi +++ b/gpu/sun-gpu.dtsi @@ -173,8 +173,9 @@ interrupt-names = "hfi", "gmu"; power-domains = <&gpucc GPU_CC_CX_GDSC>, + <&gpucc GPU_CC_CX_GMU_GDSC>, <&gxclkctl GX_CLKCTL_GX_GDSC>; - power-domain-names = "cx", "gx"; + power-domain-names = "cx", "gmu_cx", "gx"; clocks = <&gpucc GPU_CC_CX_GMU_CLK>, <&gpucc GPU_CC_CXO_CLK>,