Re: [PATCH v6 1/6] firmware: meson: sm: Add video firmware loading SMC call
From: Piotr Oniszczuk
Date: Sat Jul 25 2026 - 03:14:17 EST
> Wiadomość napisana przez Zhentao Guo via B4 Relay <devnull+zhentao.guo.amlogic.com@xxxxxxxxxx> w dniu 24 lip 2026, o godz. 09:04:
>
> From: Zhentao Guo <zhentao.guo@xxxxxxxxxxx>
>
> Add SM_LOAD_VIDEO_FW at SMC ID 0xb200000f in the command
> table to load video firmware.
>
> Signed-off-by: Zhentao Guo <zhentao.guo@xxxxxxxxxxx>
> ---
> drivers/firmware/meson/meson_sm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/firmware/meson/meson_sm.c b/drivers/firmware/meson/meson_sm.c
> index ab9751a59b55..887caa5c625d 100644
> --- a/drivers/firmware/meson/meson_sm.c
> +++ b/drivers/firmware/meson/meson_sm.c
> @@ -48,6 +48,7 @@ static const struct meson_sm_chip gxbb_chip = {
> CMD(SM_THERMAL_CALIB_READ, 0x82000047),
> CMD(SM_A1_PWRC_SET, 0x82000093),
> CMD(SM_A1_PWRC_GET, 0x82000095),
> + CMD(SM_LOAD_VIDEO_FW, 0xb200000f),
> { /* sentinel */ },
> },
> };
>
> --
> 2.42.0
>
Zhentao,
What is req. baseline for this patch?
(or what extra patches are needed to test it on 7.1 mainline)
Asking as applying on mainline 7.1.5 I’m getting:
patching file drivers/firmware/meson/meson_sm.c
Hunk #1 FAILED at 48.
1 out of 1 hunk FAILED -- saving rejects to file drivers/firmware/meson/meson_sm.c.rej