[PATCH v2 0/5] Migrate soc, drm-mediatek, mdp3 to new CMDQ APIs (series 2/4)

Nicolas Dufresne nicolas at ndufresne.ca
Wed Apr 8 13:22:41 PDT 2026


Hi,

Le mercredi 25 mars 2026 à 11:57 +0800, Jason-JH Lin a écrit :
> This series migrates the MediaTek SoC, DRM, and MDP3 drivers to the new
> CMDQ APIs introduced for MT8196.
> 
> Series application order:
>   1. [Series V2 2/4] Migrate subsystems to new CMDQ APIs (this series)
>   2. [Series V2 3/4] Remove shift_pa from CMDQ jump functions
>   3. [Series V2 4/4] Remove deprecated CMDQ APIs
> 
> Please apply this series after the MT8196 GCE support series,
> and before the following series.
> 
> ---
> 
> Change in v2:
> 1. Rebase on linux-next
> 2. Fix build error of -EINVAL in patch2.
> 
> ---
> 
> Jason-JH Lin (5):
>   soc: mediatek: Use pkt_write function pointer for subsys ID
>     compatibility
>   soc: mediatek: mtk-cmdq: Add cmdq_pkt_jump_rel_temp() for removing
>     shift_pa
>   drm/mediatek:Use reg_write function pointer for subsys ID
>     compatibility
>   media: platform: mtk-mdp3: Refactor CMDQ writes for CMDQ API change
>   media: platform: mtk-mdp3: Change cmdq_pkt_jump_rel() to
>     cmdq_pkt_jump_rel_temp()

Can the two last be applied to the media tree alone without breaking anything ?
Otherwise I will need to wait for the soc: patches to have landed.

Nicolas

> 
>  drivers/gpu/drm/mediatek/mtk_ddp_comp.c       | 12 +++++-----
>  .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c    |  6 ++---
>  .../platform/mediatek/mdp3/mtk-mdp3-comp.h    |  6 ++---
>  drivers/soc/mediatek/mtk-mmsys.c              |  8 ++++---
>  drivers/soc/mediatek/mtk-mutex.c              |  5 ++--
>  include/linux/soc/mediatek/mtk-cmdq.h         | 24 +++++++++++++++++++
>  6 files changed, 44 insertions(+), 17 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20260408/81615928/attachment.sig>


More information about the Linux-mediatek mailing list