arm64: dts: sdm845: Add zap shader region for GPU
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 12 Mar 2019 18:13:42 +0000 (12:13 -0600)
committerAndy Gross <agross@kernel.org>
Thu, 30 May 2019 02:36:47 +0000 (21:36 -0500)
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>
[bjorn: Rebase ontop of recent reserved-memory patch]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <agross@kernel.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index 61aba36dc61eddbfdaa904c37ecc080e08f1809b..4554c3cbaa62b0f76649eab5f486e870afdd2df6 100644 (file)
 
                        qcom,gmu = <&gmu>;
 
+                       zap-shader {
+                               memory-region = <&gpu_mem>;
+                       };
+
                        gpu_opp_table: opp-table {
                                compatible = "operating-points-v2";