diff mbox series

[v2,1/6] arm64: dts: qcom: sc8180x-lenovo-flex-5g: fix GPU firmware path

Message ID 20240203191200.99185-2-jenneron@postmarketos.org
State Accepted
Commit 4aa609a922e3ce387d18d8e7327d3912f0a85653
Headers show
Series Device-tree improvements for Lenovo Flex/Yoga 5G laptop | expand

Commit Message

Anton Bambura Feb. 3, 2024, 7:11 p.m. UTC
Fix GPU firmware path so it uses model-specific directory.

Signed-off-by: Anton Bambura <jenneron@postmarketos.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anton Bambura Feb. 13, 2024, 5:33 p.m. UTC | #1
February 13, 2024 at 7:14 PM, "Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org> wrote:



> 
> On Sat, Feb 03, 2024 at 09:11:55PM +0200, Anton Bambura wrote:
> 
> > 
> > Fix GPU firmware path so it uses model-specific directory.
> > 
> >  
> > 
> >  Signed-off-by: Anton Bambura <jenneron@postmarketos.org>
> > 
> >  Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> > 
> >  ---
> > 
> >  arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 +-
> > 
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> >  
> > 
> >  diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
> > 
> >  index 0c22f3efec20..49b740c54674 100644
> > 
> >  --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
> > 
> >  +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
> > 
> >  @@ -350,7 +350,7 @@ &gpu {
> > 
> >  
> > 
> >  zap-shader {
> > 
> >  memory-region = <&gpu_mem>;
> > 
> >  - firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn";
> > 
> >  + firmware-name = "qcom/sc8180x/LENOVO/82AK/qcdxkmsuc8180.mbn";
> > 
> 
> Where is the firmware located for this device? I couldn't find it in

NHLOS partition on the storage. I also maintain a package in postmarketOS

> 
> linux-firmware [1].
> 
> - Mani
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/qcom
> 
> > 
> > };
> > 
> >  };
> > 
> >  
> > 
> >  -- 
> > 
> >  2.42.0
> > 
> 
> -- 
> 
> மணிவண்ணன் சதாசிவம்
>
Anton Bambura Feb. 13, 2024, 5:59 p.m. UTC | #2
February 13, 2024 at 7:51 PM, "Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org> wrote:



> 
> On Tue, Feb 13, 2024 at 05:33:42PM +0000, jenneron@postmarketos.org wrote:
> 
> > 
> > February 13, 2024 at 7:14 PM, "Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org> wrote:
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  On Sat, Feb 03, 2024 at 09:11:55PM +0200, Anton Bambura wrote:
> > 
> >  
> > 
> >  > 
> > 
> >  > Fix GPU firmware path so it uses model-specific directory.
> > 
> >  > 
> > 
> >  > 
> > 
> >  > 
> > 
> >  > Signed-off-by: Anton Bambura <jenneron@postmarketos.org>
> > 
> >  > 
> > 
> >  > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> > 
> >  > 
> > 
> >  > ---
> > 
> >  > 
> > 
> >  > arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 +-
> > 
> >  > 
> > 
> >  > 1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> >  > 
> > 
> >  > 
> > 
> >  > 
> > 
> >  > diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
> > 
> >  > 
> > 
> >  > index 0c22f3efec20..49b740c54674 100644
> > 
> >  > 
> > 
> >  > --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
> > 
> >  > 
> > 
> >  > +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
> > 
> >  > 
> > 
> >  > @@ -350,7 +350,7 @@ &gpu {
> > 
> >  > 
> > 
> >  > 
> > 
> >  > 
> > 
> >  > zap-shader {
> > 
> >  > 
> > 
> >  > memory-region = <&gpu_mem>;
> > 
> >  > 
> > 
> >  > - firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn";
> > 
> >  > 
> > 
> >  > + firmware-name = "qcom/sc8180x/LENOVO/82AK/qcdxkmsuc8180.mbn";
> > 
> >  > 
> > 
> >  
> > 
> >  Where is the firmware located for this device? I couldn't find it in
> > 
> >  
> > 
> >  NHLOS partition on the storage. I also maintain a package in postmarketOS
> > 
> 
> Could you point me to the package?

https://gitlab.com/jenneron/firmware-lenovo-yoga-5g
https://gitlab.com/postmarketOS/pmaports/-/blob/master/device/testing/firmware-lenovo-yoga-5g/APKBUILD

> 
> - Mani
> 
> -- 
> 
> மணிவண்ணன் சதாசிவம்
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
index 0c22f3efec20..49b740c54674 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
+++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
@@ -350,7 +350,7 @@  &gpu {
 
 	zap-shader {
 		memory-region = <&gpu_mem>;
-		firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn";
+		firmware-name = "qcom/sc8180x/LENOVO/82AK/qcdxkmsuc8180.mbn";
 	};
 };