diff mbox series

linux-firmware: add new fw file to ${PN}-qcom-adreno-a660

Message ID 20241022172111.539206-1-quic_vpuar@quicinc.com
State Accepted, archived
Commit 6026fdda90215752688e560320b6c6b5d62354bc
Headers show
Series linux-firmware: add new fw file to ${PN}-qcom-adreno-a660 | expand

Commit Message

Vivek Puar Oct. 22, 2024, 5:21 p.m. UTC
Extend the linux-firmware-qcom-adreno-a660 package
with gpu firmware file for qcom QCM6490 variant

Signed-off-by: Vivek Puar <quic_vpuar@quicinc.com>
---
 meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dmitry Baryshkov Nov. 1, 2024, 9:16 p.m. UTC | #1
On Tue, 22 Oct 2024 at 20:21, Vivek Puar via lists.openembedded.org
<quic_vpuar=quicinc.com@lists.openembedded.org> wrote:
>
> Extend the linux-firmware-qcom-adreno-a660 package
> with gpu firmware file for qcom QCM6490 variant

Could you please explain one thing: why can't you look around and copy
the existing approach? MBN files are platform-dependent, so they
should not go to the platform-independent qcom-adreno-aNNN packages.
That's how all the rest of the platforms are handled, but for some
reason you don't copy that design.

Nico, Ricardo, could you please make sure that future linux-firmware
recipe changes from the Qualcomm side get dmitry.baryshkov@linaro.org
in CC list? I usually don't follow the mailing list closely, so I
missed this.  I'll send a series to fix the issues with QCM6490 /
QCS6490  but I'd really like to be able to prevent such invalid or
half-baked solutions from hitting the repository in the future.

>
> Signed-off-by: Vivek Puar <quic_vpuar@quicinc.com>
> ---
>  meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb
> index f40723cbca..d18e7414db 100644
> --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb
> +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb
> @@ -1482,7 +1482,7 @@ FILES:${PN}-qcom-adreno-a4xx = "${nonarch_base_libdir}/firmware/qcom/a4*_*.fw*"
>  FILES:${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.fw*"
>  FILES:${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.*"
>  FILES:${PN}-qcom-adreno-a650 = "${nonarch_base_libdir}/firmware/qcom/a650*.*"
> -FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.*"
> +FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.* ${nonarch_base_libdir}/firmware/qcom/qcm6490/a660_zap.mbn*"
>  FILES:${PN}-qcom-adreno-a702 = "${nonarch_base_libdir}/firmware/qcom/a702*.*"
>  FILES:${PN}-qcom-adreno-g750 = "${nonarch_base_libdir}/firmware/qcom/gen70500_*.*"
>  FILES:${PN}-qcom-apq8016-modem = "${nonarch_base_libdir}/firmware/qcom/apq8016/mba.mbn* ${nonarch_base_libdir}/firmware/qcom/apq8016/modem.mbn*"
> --
> 2.34.1
Vivek Puar Nov. 4, 2024, 5:54 a.m. UTC | #2
Hi Dmitry,

This will be taken care of in the future and such mistakes won't be 
repeated.

On 11/2/2024 2:46 AM, Dmitry Baryshkov wrote:
> On Tue, 22 Oct 2024 at 20:21, Vivek Puar via lists.openembedded.org
> <quic_vpuar=quicinc.com@lists.openembedded.org> wrote:
>> Extend the linux-firmware-qcom-adreno-a660 package
>> with gpu firmware file for qcom QCM6490 variant
> Could you please explain one thing: why can't you look around and copy
> the existing approach? MBN files are platform-dependent, so they
> should not go to the platform-independent qcom-adreno-aNNN packages.
> That's how all the rest of the platforms are handled, but for some
> reason you don't copy that design.
>
> Nico, Ricardo, could you please make sure that future linux-firmware
> recipe changes from the Qualcomm side getdmitry.baryshkov@linaro.org
> in CC list? I usually don't follow the mailing list closely, so I
> missed this.  I'll send a series to fix the issues with QCM6490 /
> QCS6490  but I'd really like to be able to prevent such invalid or
> half-baked solutions from hitting the repository in the future.
>
>> Signed-off-by: Vivek Puar<quic_vpuar@quicinc.com>
>> ---
>>   meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb
>> index f40723cbca..d18e7414db 100644
>> --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb
>> +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb
>> @@ -1482,7 +1482,7 @@ FILES:${PN}-qcom-adreno-a4xx = "${nonarch_base_libdir}/firmware/qcom/a4*_*.fw*"
>>   FILES:${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.fw*"
>>   FILES:${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.*"
>>   FILES:${PN}-qcom-adreno-a650 = "${nonarch_base_libdir}/firmware/qcom/a650*.*"
>> -FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.*"
>> +FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.* ${nonarch_base_libdir}/firmware/qcom/qcm6490/a660_zap.mbn*"
>>   FILES:${PN}-qcom-adreno-a702 = "${nonarch_base_libdir}/firmware/qcom/a702*.*"
>>   FILES:${PN}-qcom-adreno-g750 = "${nonarch_base_libdir}/firmware/qcom/gen70500_*.*"
>>   FILES:${PN}-qcom-apq8016-modem = "${nonarch_base_libdir}/firmware/qcom/apq8016/mba.mbn* ${nonarch_base_libdir}/firmware/qcom/apq8016/modem.mbn*"
>> --
>> 2.34.1

Regards,

Vivek
diff mbox series

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb
index f40723cbca..d18e7414db 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20241017.bb
@@ -1482,7 +1482,7 @@  FILES:${PN}-qcom-adreno-a4xx = "${nonarch_base_libdir}/firmware/qcom/a4*_*.fw*"
 FILES:${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.fw*"
 FILES:${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.*"
 FILES:${PN}-qcom-adreno-a650 = "${nonarch_base_libdir}/firmware/qcom/a650*.*"
-FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.*"
+FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.* ${nonarch_base_libdir}/firmware/qcom/qcm6490/a660_zap.mbn*"
 FILES:${PN}-qcom-adreno-a702 = "${nonarch_base_libdir}/firmware/qcom/a702*.*"
 FILES:${PN}-qcom-adreno-g750 = "${nonarch_base_libdir}/firmware/qcom/gen70500_*.*"
 FILES:${PN}-qcom-apq8016-modem = "${nonarch_base_libdir}/firmware/qcom/apq8016/mba.mbn* ${nonarch_base_libdir}/firmware/qcom/apq8016/modem.mbn*"