diff mbox

[6/6] drm/msm: Document the zap-shader subnode for the GPU

Message ID 1492031718-28477-7-git-send-email-jcrouse@codeaurora.org (mailing list archive)
State New, archived
Headers show

Commit Message

Jordan Crouse April 12, 2017, 9:15 p.m. UTC
The 'zap-shader' subnode is used to define a phandle for the
PIL memory region that is required to load GPU secure firwmare images
(known as the "zap shader").

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
---
 Documentation/devicetree/bindings/display/msm/gpu.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Bjorn Andersson April 17, 2017, 7:57 p.m. UTC | #1
On Wed 12 Apr 14:15 PDT 2017, Jordan Crouse wrote:

> The 'zap-shader' subnode is used to define a phandle for the
> PIL memory region that is required to load GPU secure firwmare images
> (known as the "zap shader").
> 
> Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>

Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

> ---
>  Documentation/devicetree/bindings/display/msm/gpu.txt | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/display/msm/gpu.txt b/Documentation/devicetree/bindings/display/msm/gpu.txt
> index 43fac0f..0376b20 100644
> --- a/Documentation/devicetree/bindings/display/msm/gpu.txt
> +++ b/Documentation/devicetree/bindings/display/msm/gpu.txt
> @@ -15,6 +15,15 @@ Required properties:
>    * "iface"
>    * "mem_iface"
>  
> +Subnodes:
> +- zap-shader:	Defines the memory region used by the zap shader
> +		to load the firmware via the PIL loader. This is required
> +		for adreno-5xx targets and newer unless the secure mode
> +		is specifically disabled on a target.
> +
> +Required properties for zap-shader:
> +- memory-region: Phandle to the PIL reserved memory region.
> +
>  Example:
>  
>  / {
> @@ -34,5 +43,9 @@ Example:
>  		    <&mmcc GFX3D_CLK>,
>  		    <&mmcc GFX3D_AHB_CLK>,
>  		    <&mmcc MMSS_IMEM_AHB_CLK>;
> +
> +		zap-shader {
> +			memory-region = <&peripheral_reserved>;
> +		};
>  	};
>  };
> -- 
> 1.9.1
>
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/display/msm/gpu.txt b/Documentation/devicetree/bindings/display/msm/gpu.txt
index 43fac0f..0376b20 100644
--- a/Documentation/devicetree/bindings/display/msm/gpu.txt
+++ b/Documentation/devicetree/bindings/display/msm/gpu.txt
@@ -15,6 +15,15 @@  Required properties:
   * "iface"
   * "mem_iface"
 
+Subnodes:
+- zap-shader:	Defines the memory region used by the zap shader
+		to load the firmware via the PIL loader. This is required
+		for adreno-5xx targets and newer unless the secure mode
+		is specifically disabled on a target.
+
+Required properties for zap-shader:
+- memory-region: Phandle to the PIL reserved memory region.
+
 Example:
 
 / {
@@ -34,5 +43,9 @@  Example:
 		    <&mmcc GFX3D_CLK>,
 		    <&mmcc GFX3D_AHB_CLK>,
 		    <&mmcc MMSS_IMEM_AHB_CLK>;
+
+		zap-shader {
+			memory-region = <&peripheral_reserved>;
+		};
 	};
 };