Skip to content

MTK MDP driver cleanups to prep for futher work

Eizan Miyamoto linux-arm-kernel linux-media linux-mediatek lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyIn review
  2. v25 patches 4 repliesSuperseded
  3. v15 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Removed extra Signed-off-by: tag from commit messages.
- Removed extra line break in mtk_mdp_core.c
- Update cover letter with dependent commit

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mtk-mdp: remove mtk_mdp_comp.regs from mtk_mdp_comp.hdrivers/media/platform/mtk-mdp/mtk_mdp_comp.c drivers/media/platform/mtk-mdp/mtk_mdp_comp.h+0 -30 replies
2/5mtk-mdp: handle vb2_dma_contig_set_max_seg_size errors during probedrivers/media/platform/mtk-mdp/mtk_mdp_core.c+5 -10 replies
3/5mtk-mdp: handle vpu_wdt_reg_handler() errors during probedrivers/media/platform/mtk-mdp/mtk_mdp_core.c+6 -20 replies
4/5mtk-mdp: convert mtk_mdp_dev.comp array to listdrivers/media/platform/mtk-mdp/mtk_mdp_comp.c drivers/media/platform/mtk-mdp/mtk_mdp_comp.h drivers/media/platform/mtk-mdp/mtk_mdp_core.c +1 more+43 -160 replies
5/5mtk-mdp: Remove mtk_mdp_comp.id and supporting functionalitydrivers/media/platform/mtk-mdp/mtk_mdp_comp.c drivers/media/platform/mtk-mdp/mtk_mdp_comp.h drivers/media/platform/mtk-mdp/mtk_mdp_core.c+10 -781 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchEnric Balletbo I Serra
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] MTK MDP driver cleanups to prep for futher work

It most notably converts an array of MDP components to a list instead, but also removes some unused fields.

This series of patches does some cleanup in preparation for futher work so that hardware video decode works on 4.19 and later kernels. We are planning on adding a dummy driver for the relevant MDP components that will be bound together using the component framework, which will enable calls to set up IOMMUs and LARBs, and make calls into pm_runtime.

Note: these changes depend on 757570f11fa4b0ce5472a6583de6f06e996a8527 to apply cleanly.

Changes in v3:
- Removed extra Signed-off-by: tag from commit messages.
- Removed extra line break in mtk_mdp_core.c
- Update cover letter with dependent commit

Changes in v2:
- remove unnecessary error handling labels in favor of err_m2m_register
- remove unnecessary error handling labels in favor of err_m2m_register
- rebase onto linux-next/master to pick up 757570f11fa4b0ce5472a6583de6f06e996a8527

Eizan Miyamoto (5):
[media] mtk-mdp: remove mtk_mdp_comp.regs from mtk_mdp_comp.h [media] mtk-mdp: handle vb2_dma_contig_set_max_seg_size errors during
probe
[media] mtk-mdp: handle vpu_wdt_reg_handler() errors during probe [media] mtk-mdp: convert mtk_mdp_dev.comp array to list [media] mtk-mdp: Remove mtk_mdp_comp.id and supporting functionality

 drivers/media/platform/mtk-mdp/mtk_mdp_comp.c | 60 ++--------------
 drivers/media/platform/mtk-mdp/mtk_mdp_comp.h | 23 ++-----
 drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 69 ++++++++++++-------
 drivers/media/platform/mtk-mdp/mtk_mdp_core.h | 10 ++-
 4 files changed, 63 insertions(+), 99 deletions(-)
Signature · 1 line
2.26.2.526.g744177e7f7-goog