[PATCH v3 0/8] Refactor MTK MDP driver into core/components
From: Eizan Miyamoto
Date: Fri Jun 18 2021 - 03:52:28 EST
This is an update to
To address some comments and fixes.
This series has been verified to work on 5.12.
It has been rebased on top of the series
Changes in v3:
- get mdp master from aliases instead of strcmp against of_node->name
Changes in v2:
- rebased onto Linux 5.12
- 100 char line length allowance was utilized in a few places
- Removal of a redundant dev_err() print at the end of
- Instead of printing errors and ignoring them, I've added a patch to
correctly propagate them.
- Use of C style comments.
- Three additional patches were added to eliminate dependency on the
mediatek,vpu property inside the mdp_rdma0 device node.
Eizan Miyamoto (8):
mtk-mdp: add driver to probe mdp components
mtk-mdp: use pm_runtime in MDP component driver
media: mtk-mdp: don't pm_run_time_get/put for master comp in clock_on
mtk-mdp: soc: mediatek: register mdp from mmsys
media: mtk-mdp: search for vpu node instead of linking it to a
media: mtk-mdp: propagate errors better in pm_suspend/resume
media: mtk-mdp: use mdp-rdma0 alias to point to MDP master
dts: mtk-mdp: remove mediatek,vpu property from primary MDP device
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 1 -
drivers/media/platform/mtk-mdp/mtk_mdp_comp.c | 258 ++++++++++++++--
drivers/media/platform/mtk-mdp/mtk_mdp_comp.h | 35 +--
drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 281 ++++++++++++------
drivers/media/platform/mtk-mdp/mtk_mdp_core.h | 3 +
drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c | 4 +-
drivers/soc/mediatek/mtk-mmsys.c | 20 +-
7 files changed, 466 insertions(+), 136 deletions(-)