[PATCH v2 0/5] Migrate soc, drm-mediatek, mdp3 to new CMDQ APIs (series 2/4)
Jason-JH Lin
jason-jh.lin at mediatek.com
Tue Mar 24 20:57:37 PDT 2026
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()
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(-)
--
2.43.0
More information about the Linux-mediatek
mailing list