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

Commit 309eb9cf authored by Tarun Karra's avatar Tarun Karra
Browse files

ARM: dts: msm: Optimize sdm845 GPU SMMU protection range



SDM845 GPU SMMU range is from 0x05040000--0x05050000.
<0x0504C000--0x0504D000> -- Context Bank 4 (ATOS)
<0x0504D000--0x05050000> -- Context Bank 5/6/7 (HYP owned)

Context Bank 4 is not used by GPU driver.
Context Bank 5/6/7 are already protected by HYP.
Optimize to not protect these using CP_PROTECT_REG.
This will save 2 CP protection ranges.

Change-Id: Ic3fe622992893c0218feb124a22d7f7210971c7b
Signed-off-by: default avatarTarun Karra <tkarra@codeaurora.org>
parent 099e9fc7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -267,7 +267,8 @@
		compatible = "qcom,kgsl-smmu-v2";

		reg = <0x05040000 0x10000>;
		qcom,protect = <0x40000 0x10000>;
		/* CB5(ATOS) & CB5/6/7 are protected by HYP */
		qcom,protect = <0x40000 0xc000>;
		qcom,micro-mmu-control = <0x6000>;

		clocks =<&clock_gcc GCC_GPU_CFG_AHB_CLK>,