aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2019-03-12 12:13:42 -0600
committerBjorn Andersson <bjorn.andersson@linaro.org>2019-03-22 21:49:21 -0700
commit6c436c59ad0a129a5dc10e70603993825e90b5aa (patch)
treec593ce4c348ce57b662333bfe26188cb667085f7
parent6346fc48bbfe11c9466e1b07753939e41e16cbe3 (diff)
downloadkernel-6c436c59ad0a129a5dc10e70603993825e90b5aa.tar.gz
arm64: dts: sdm845: Add zap shader region for GPU
Some Adreno GPU targets require a special zap shader to bring the GPU out of secure mode. Define a region to allocate and store the zap shader. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 8c542dec620c..e3756e50f2d6 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -94,6 +94,11 @@
no-map;
};
+ gpu_mem: memory@8c415000 {
+ reg = <0 0x8c415000 0 0x2000>;
+ no-map;
+ };
+
wlan_msa_mem: memory@96700000 {
reg = <0 0x96700000 0 0x100000>;
no-map;
@@ -1513,6 +1518,10 @@
qcom,gmu = <&gmu>;
+ zap-shader {
+ memory-region = <&gpu_mem>;
+ };
+
gpu_opp_table: opp-table {
compatible = "operating-points-v2";