Subject: Re: linux-next: build failure after merge of the mailbox tree

From: Jason-JH Lin (林睿祥) <[email-masked]>
Date: Thu, 11 Dec 2025 17:28:31 +0000

On Wed, 2025-12-10 at 18:01 -0600, Jassi Brar wrote:
> 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> On Wed, Dec 10, 2025 at 5:49 PM Stephen Rothwell
> <[email-masked]> wrote:
> > 
> > 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()")
> > 

Hi Jassi,

> Jason, isn't your "Remove shift_pa from CMDQ jump functions" patchset
> picked already?

No, soc, drm and mdp3 maintainers have not picked the patches before
this patch.

> 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-masked]/
2. [Series 1/4] Add GCE support for MT8196 and update CMDQ APIs
https://lore.kernel.org/all/[email-masked]/
3. [Series 2/4] Migrate subsystems to new CMDQ APIs
https://lore.kernel.org/all/[email-masked]/
4. [Series 3/4] Remove shift_pa from CMDQ jump functions
https://lore.kernel.org/all/[email-masked]/
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

> thanks
> -Jassi