Re: [PATCH v6 1/6] firmware: meson: sm: Add video firmware loading SMC call
From: Zhentao Guo
Date: Sun Jul 26 2026 - 22:57:56 EST
Hi Piotr,
[You don't often get email from piotr.oniszczuk@xxxxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Wiadomość napisana przez Zhentao Guo via B4 Relay <devnull+zhentao.guo.amlogic.com@xxxxxxxxxx> w dniu 24 lip 2026, o godz. 09:04:Zhentao,
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
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
The baseline for this patch is https://lore.kernel.org/all/20260424-add-thermal-t7-vim4-v5-3-9040ca36afe2@xxxxxxxx/. I submitted my patch based on 7.2.0-rc4.
Best regards,
Zhentao