diff mbox series

[3/7] arm64: dts: qcom: qrb5165-rb5: add gpu/zap-shader node

Message ID 20201127095548.128217-3-dmitry.baryshkov@linaro.org
State Superseded
Headers show
Series [1/7] arm64: dts: qcom: sm8250.dtsi: add display system nodes | expand

Commit Message

Dmitry Baryshkov Nov. 27, 2020, 9:55 a.m. UTC
Add firmware configuration for Adreno zap shader on qrb5165-rb5.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

---
 arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
2.29.2

Comments

Bjorn Andersson Dec. 2, 2020, 10:38 p.m. UTC | #1
On Fri 27 Nov 03:55 CST 2020, Dmitry Baryshkov wrote:

> Add firmware configuration for Adreno zap shader on qrb5165-rb5.

> 

> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

> ---

>  arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 7 +++++++

>  1 file changed, 7 insertions(+)

> 

> diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts

> index 9c5135585ec9..d1f6cadca35a 100644

> --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts

> +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts

> @@ -423,6 +423,13 @@ &dsi0_phy {

>  	vdds-supply = <&vreg_l5a_0p88>;

>  };

>  

> +&gpu {

> +	zap-shader {

> +		memory-region = <&gpu_mem>;

> +		firmware-name = "qcom/a650_zap.mdt";


The zap shader is unfortunately signed with a vendor specific key. So
can we please move the test signed file into qcom/sm8250/?

And to avoid pushing all these scattered files to linux-firmware, can
you please run pil-squasher [1] on it and use the a650_zap.mbn?

[1] https://github.com/andersson/pil-squasher

Regards,
Bjorn

> +	};

> +};

> +

>  /* LS-I2C0 */

>  &i2c4 {

>  	status = "okay";

> -- 

> 2.29.2

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
index 9c5135585ec9..d1f6cadca35a 100644
--- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
+++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
@@ -423,6 +423,13 @@  &dsi0_phy {
 	vdds-supply = <&vreg_l5a_0p88>;
 };
 
+&gpu {
+	zap-shader {
+		memory-region = <&gpu_mem>;
+		firmware-name = "qcom/a650_zap.mdt";
+	};
+};
+
 /* LS-I2C0 */
 &i2c4 {
 	status = "okay";