All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 26/26] arm64: dts: qcom: c630: set venus firmware name
@ 2022-12-25  4:08 Steev Klimaszewski
  2022-12-25 15:22 ` Dmitry Baryshkov
  2022-12-26  0:47 ` [PATCH] arm64: dts: qcom: c630: Fix firmware paths Steev Klimaszewski
  0 siblings, 2 replies; 8+ messages in thread
From: Steev Klimaszewski @ 2022-12-25  4:08 UTC (permalink / raw)
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel

The Lenovo Yoga C630 can't use the generic venus firmware that is in the
linux-firmware repository, and needs a signed one.  This file is
qcvss850.mbn from the Windows partition and needs to be copied manually.

Signed-off-by: Steev Klimaszewski <steev@kali.org>
---
 arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
index 7e80e2950f8d..78a14f899df9 100644
--- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
+++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
@@ -801,6 +801,7 @@ &usb_2_qmpphy {
 };
 
 &venus {
+	firmware-name = "qcom/venus-5.2/qcvss850.mbn";
 	status = "okay";
 };
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 26/26] arm64: dts: qcom: c630: set venus firmware name
  2022-12-25  4:08 [PATCH 26/26] arm64: dts: qcom: c630: set venus firmware name Steev Klimaszewski
@ 2022-12-25 15:22 ` Dmitry Baryshkov
  2022-12-25 17:06   ` Steev Klimaszewski
  2022-12-26  0:47 ` [PATCH] arm64: dts: qcom: c630: Fix firmware paths Steev Klimaszewski
  1 sibling, 1 reply; 8+ messages in thread
From: Dmitry Baryshkov @ 2022-12-25 15:22 UTC (permalink / raw)
  To: Steev Klimaszewski
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel

On Sun, 25 Dec 2022 at 06:08, Steev Klimaszewski <steev@kali.org> wrote:
>
> The Lenovo Yoga C630 can't use the generic venus firmware that is in the
> linux-firmware repository, and needs a signed one.  This file is
> qcvss850.mbn from the Windows partition and needs to be copied manually.
>
> Signed-off-by: Steev Klimaszewski <steev@kali.org>
> ---
>  arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
> index 7e80e2950f8d..78a14f899df9 100644
> --- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
> +++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
> @@ -801,6 +801,7 @@ &usb_2_qmpphy {
>  };
>
>  &venus {
> +       firmware-name = "qcom/venus-5.2/qcvss850.mbn";

Please follow the established convention (see e.g. the x13s laptop firmware).
It should be "qcom/sdm850/LENOVO/81JL/qcvss850.mbn" (or
qcom/sdm845/LENOVO/....).

>         status = "okay";
>  };
>
> --
> 2.35.1
>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 26/26] arm64: dts: qcom: c630: set venus firmware name
  2022-12-25 15:22 ` Dmitry Baryshkov
@ 2022-12-25 17:06   ` Steev Klimaszewski
  0 siblings, 0 replies; 8+ messages in thread
From: Steev Klimaszewski @ 2022-12-25 17:06 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel

On Sun, Dec 25, 2022 at 9:22 AM Dmitry Baryshkov
<dmitry.baryshkov@linaro.org> wrote:
>
> On Sun, 25 Dec 2022 at 06:08, Steev Klimaszewski <steev@kali.org> wrote:
> >
> > The Lenovo Yoga C630 can't use the generic venus firmware that is in the
> > linux-firmware repository, and needs a signed one.  This file is
> > qcvss850.mbn from the Windows partition and needs to be copied manually.
> >
> > Signed-off-by: Steev Klimaszewski <steev@kali.org>
> > ---
> >  arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
> > index 7e80e2950f8d..78a14f899df9 100644
> > --- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
> > +++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
> > @@ -801,6 +801,7 @@ &usb_2_qmpphy {
> >  };
> >
> >  &venus {
> > +       firmware-name = "qcom/venus-5.2/qcvss850.mbn";
>
> Please follow the established convention (see e.g. the x13s laptop firmware).
> It should be "qcom/sdm850/LENOVO/81JL/qcvss850.mbn" (or
> qcom/sdm845/LENOVO/....).
>
> >         status = "okay";
> >  };
> >
> > --
> > 2.35.1
> >
>
>
> --
> With best wishes
> Dmitry

Thanks for pointing that out; will make the change for v2!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] arm64: dts: qcom: c630: Fix firmware paths
  2022-12-25  4:08 [PATCH 26/26] arm64: dts: qcom: c630: set venus firmware name Steev Klimaszewski
  2022-12-25 15:22 ` Dmitry Baryshkov
@ 2022-12-26  0:47 ` Steev Klimaszewski
  2022-12-26  1:02   ` Dmitry Baryshkov
                     ` (2 more replies)
  1 sibling, 3 replies; 8+ messages in thread
From: Steev Klimaszewski @ 2022-12-26  0:47 UTC (permalink / raw)
  To: steev
  Cc: agross, andersson, devicetree, konrad.dybcio,
	krzysztof.kozlowski+dt, linux-arm-msm, linux-kernel, robh+dt

The firmware paths were pointing to qcom/manufacturer whereas other
devices have them under qcom/chipset/manufacturer, so fix this up on the
c630, so we follow the same standard setup.

Signed-off-by: Steev Klimaszewski <steev@kali.org>
---
 arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
index 7e80e2950f8d..b04cb563496c 100644
--- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
+++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
@@ -94,7 +94,7 @@ backlight: backlight {
 };
 
 &adsp_pas {
-	firmware-name = "qcom/LENOVO/81JL/qcadsp850.mbn";
+	firmware-name = "qcom/sdm850/LENOVO/81JL/qcadsp850.mbn";
 	status = "okay";
 };
 
@@ -306,7 +306,7 @@ vreg_lvs2a_1p8: lvs2 {
 };
 
 &cdsp_pas {
-	firmware-name = "qcom/LENOVO/81JL/qccdsp850.mbn";
+	firmware-name = "qcom/sdm850/LENOVO/81JL/qccdsp850.mbn";
 	status = "okay";
 };
 
@@ -345,7 +345,7 @@ &gpu {
 	status = "okay";
 	zap-shader {
 		memory-region = <&gpu_mem>;
-		firmware-name = "qcom/LENOVO/81JL/qcdxkmsuc850.mbn";
+		firmware-name = "qcom/sdm850/LENOVO/81JL/qcdxkmsuc850.mbn";
 	};
 };
 
@@ -502,7 +502,7 @@ &mdss {
 
 &mss_pil {
 	status = "okay";
-	firmware-name = "qcom/LENOVO/81JL/qcdsp1v2850.mbn", "qcom/LENOVO/81JL/qcdsp2850.mbn";
+	firmware-name = "qcom/sdm850/LENOVO/81JL/qcdsp1v2850.mbn", "qcom/sdm850/LENOVO/81JL/qcdsp2850.mbn";
 };
 
 &qup_i2c10_default {
@@ -801,6 +801,7 @@ &usb_2_qmpphy {
 };
 
 &venus {
+	firmware-name = "qcom/sdm850/LENOVO/81JL/qcvss850.mbn";
 	status = "okay";
 };
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: c630: Fix firmware paths
  2022-12-26  0:47 ` [PATCH] arm64: dts: qcom: c630: Fix firmware paths Steev Klimaszewski
@ 2022-12-26  1:02   ` Dmitry Baryshkov
  2022-12-26 12:04   ` Krzysztof Kozlowski
  2022-12-28 19:13   ` Bjorn Andersson
  2 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2022-12-26  1:02 UTC (permalink / raw)
  To: Steev Klimaszewski
  Cc: agross, andersson, devicetree, konrad.dybcio,
	krzysztof.kozlowski+dt, linux-arm-msm, linux-kernel, robh+dt

On Mon, 26 Dec 2022 at 02:47, Steev Klimaszewski <steev@kali.org> wrote:
>
> The firmware paths were pointing to qcom/manufacturer whereas other
> devices have them under qcom/chipset/manufacturer, so fix this up on the
> c630, so we follow the same standard setup.
>
> Signed-off-by: Steev Klimaszewski <steev@kali.org>

Thanks!
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

> ---
>  arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: c630: Fix firmware paths
  2022-12-26  0:47 ` [PATCH] arm64: dts: qcom: c630: Fix firmware paths Steev Klimaszewski
  2022-12-26  1:02   ` Dmitry Baryshkov
@ 2022-12-26 12:04   ` Krzysztof Kozlowski
  2022-12-26 19:23     ` Steev Klimaszewski
  2022-12-28 19:13   ` Bjorn Andersson
  2 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-12-26 12:04 UTC (permalink / raw)
  To: Steev Klimaszewski
  Cc: agross, andersson, devicetree, konrad.dybcio,
	krzysztof.kozlowski+dt, linux-arm-msm, linux-kernel, robh+dt

On 26/12/2022 01:47, Steev Klimaszewski wrote:
> The firmware paths were pointing to qcom/manufacturer whereas other
> devices have them under qcom/chipset/manufacturer, so fix this up on the
> c630, so we follow the same standard setup.
> 
> Signed-off-by: Steev Klimaszewski <steev@kali.org>

Do not attach your patches to some other threads. It messes with reading
and applying.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: c630: Fix firmware paths
  2022-12-26 12:04   ` Krzysztof Kozlowski
@ 2022-12-26 19:23     ` Steev Klimaszewski
  0 siblings, 0 replies; 8+ messages in thread
From: Steev Klimaszewski @ 2022-12-26 19:23 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: agross, andersson, devicetree, konrad.dybcio,
	krzysztof.kozlowski+dt, linux-arm-msm, linux-kernel, robh+dt

On Mon, Dec 26, 2022 at 6:04 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> On 26/12/2022 01:47, Steev Klimaszewski wrote:
> > The firmware paths were pointing to qcom/manufacturer whereas other
> > devices have them under qcom/chipset/manufacturer, so fix this up on the
> > c630, so we follow the same standard setup.
> >
> > Signed-off-by: Steev Klimaszewski <steev@kali.org>
>
> Do not attach your patches to some other threads. It messes with reading
> and applying.
>
> Best regards,
> Krzysztof
>
Sorry, I screwed up my first patch, and this was supposed to be a v2
of that one.  I'll do better on other submissions.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: dts: qcom: c630: Fix firmware paths
  2022-12-26  0:47 ` [PATCH] arm64: dts: qcom: c630: Fix firmware paths Steev Klimaszewski
  2022-12-26  1:02   ` Dmitry Baryshkov
  2022-12-26 12:04   ` Krzysztof Kozlowski
@ 2022-12-28 19:13   ` Bjorn Andersson
  2 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2022-12-28 19:13 UTC (permalink / raw)
  To: steev
  Cc: agross, devicetree, krzysztof.kozlowski+dt, konrad.dybcio,
	robh+dt, linux-kernel, linux-arm-msm

On Sun, 25 Dec 2022 18:47:27 -0600, Steev Klimaszewski wrote:
> The firmware paths were pointing to qcom/manufacturer whereas other
> devices have them under qcom/chipset/manufacturer, so fix this up on the
> c630, so we follow the same standard setup.
> 
> 

Applied, thanks!

[01/1] arm64: dts: qcom: c630: Fix firmware paths
       commit: 40103eabe3d3139a69e5235cf3a86c89214ef584
[26/26] arm64: dts: qcom: c630: set venus firmware name
        (no commit info)

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-12-28 19:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-25  4:08 [PATCH 26/26] arm64: dts: qcom: c630: set venus firmware name Steev Klimaszewski
2022-12-25 15:22 ` Dmitry Baryshkov
2022-12-25 17:06   ` Steev Klimaszewski
2022-12-26  0:47 ` [PATCH] arm64: dts: qcom: c630: Fix firmware paths Steev Klimaszewski
2022-12-26  1:02   ` Dmitry Baryshkov
2022-12-26 12:04   ` Krzysztof Kozlowski
2022-12-26 19:23     ` Steev Klimaszewski
2022-12-28 19:13   ` Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.