linux-next: build failure after merge of the mailbox tree
Hi all,
After merging the mailbox tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c: In function 'mdp_probe':drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c:311:41: error: implicit declaration of function 'cmdq_get_shift_pa' [-Wimplicit-function-declaration]
311 | mdp->cmdq_shift_pa[i] = cmdq_get_shift_pa(mdp->cmdq_clt[i]->chan);
| ^~~~~~~~~~~~~~~~~Caused by commit
e1fe978a07c7 ("mailbox: mtk-cmdq: Remove unsued cmdq_get_shift_pa()")
I have used the mailbox tree from next-20251210 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 6 lines · Stephen Rothwell
Hi all,
After merging the mailbox tree, today's linux-next build (
x86_64allmodconfig) failed like this:
Quoted 9 lines
drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c: In function 'mdp_probe':drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c:311:41: error: implicit declaration of function 'cmdq_get_shift_pa' [-Wimplicit-function-declaration]311 | mdp->cmdq_shift_pa[i] = cmdq_get_shift_pa(mdp->cmdq_clt[i]->chan); | ^~~~~~~~~~~~~~~~~Caused by commit
e1fe978a07c7("mailbox: mtk-cmdq: Remove unsuedcmdq_get_shift_pa()")
Jason, isn't your "Remove shift_pa from CMDQ jump functions" patchset picked already?
Ideally this patch should have gone in that patchset. But if that pr will be merged soon, maybe I can hold off mine. Otherwise, I will drop this patch.
thanks
-Jassi
Quoted 27 lines · Jassi Brar
External email : Please do not click links or open attachments until you have verified the sender or the content.
Quoted 20 lines · Stephen Rothwell
Hi all,
After merging the mailbox tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c: In function 'mdp_probe':drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c:311:41: error:
implicit declaration of function 'cmdq_get_shift_pa' [-Wimplicit- function-declaration]
311 | mdp->cmdq_shift_pa[i] =cmdq_get_shift_pa(mdp->cmdq_clt[i]->chan);
| ^~~~~~~~~~~~~~~~~Caused by commit
e1fe978a07c7("mailbox: mtk-cmdq: Remove unsuedcmdq_get_shift_pa()")
Hi Jassi,
Quoted 2 lines
Jason, isn't your "Remove
shift_pafrom CMDQ jump functions" patchset picked already?
No, soc, drm and mdp3 maintainers have not picked the patches before this patch.
Quoted 4 lines
Ideally this patch should have gone in that patchset. But if that pr will be merged soon, maybe I can hold off mine. Otherwise, I will drop
this patch.
Please apply this patch, after all previous series have been applied in order.
Series application order:
1. [Fixes] Refine DMA address handling for the command buffer
https://lore.kernel.org/all/[email protected]/
2. [Series 1/4] Add GCE support for MT8196 and update CMDQ APIs
https://lore.kernel.org/all/[email protected]/
3. [Series 2/4] Migrate subsystems to new CMDQ APIs
https://lore.kernel.org/all/[email protected]/
4. [Series 3/4] Remove shift_pa from CMDQ jump functions
https://lore.kernel.org/all/[email protected]/
5. [Series 4/4] Remove deprecated CMDQ APIs (***this patch's series***)
Thanks!
---
Hi Angelo, CK, Nicolas,
Can you help to apply the patches before this one and send the pull request soon?
Or are we plan to apply them later and drop this patch for now?
Regards,
Jason-JH.Lin
Quoted 3 lines
thanks
-Jassi