Skip to content

Commit

Permalink
arm64: dts: sdm845: Add zap shader region for GPU
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jordan Crouse authored and Andy Gross committed May 30, 2019
1 parent c798001 commit 3fdeaee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/qcom/sdm845.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2124,6 +2124,10 @@

qcom,gmu = <&gmu>;

zap-shader {
memory-region = <&gpu_mem>;
};

gpu_opp_table: opp-table {
compatible = "operating-points-v2";

Expand Down

0 comments on commit 3fdeaee

Please sign in to comment.