[PATCH v12 0/4] Add mmsys and mutex support for MDP
From: Moudy Ho
Date: Tue Mar 01 2022 - 05:03:13 EST
Change since V11:
- Rebase on v5.17-rc6.
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/commit/?h=v5.17-next/soc&id=5f9b5b757e44de47ebdc116c14b90e3cc8bc7acb
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/commit/?h=v5.17-next/soc&id=831785f0e5b919c29e1bc5f9a74e9ebd38289e24
[3]: https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/commit/?h=v5.17-next/soc&id=15f1768365aed810826a61fef4a744437aa5b426
Change since v10:
- For some ISP application scenarios, such as preview and recording
at the same time.
The routing table needs to be discarded, and the calculation result
on the SCP side is used to write a suitable mux setting for
1 input and 2 output.
- Adjust the GCE client register parsing method to avoid redundant warning logs.
Change since v9:
- Add API for MDP getting mutex mod.
Hi,
This patch splits mmsys and mutex settings from Media Data Path 3 (MDP3),
and original mailling list list below:
https://patchwork.kernel.org/project/linux-mediatek/cover/20211201095031.31606-1-moudy.ho@xxxxxxxxxxxx/
Corresponding settings and interfaces are added for MDP operation in the
mmsys and mutex drivers, which increases the independence of the modules
Moudy Ho (4):
soc: mediatek: mmsys: add CMDQ write register function
soc: mediatek: mmsys: add support for ISP control
soc: mediatek: mutex: add support for MDP
soc: mediatek: mutex: add functions that operate registers by CMDQ
drivers/soc/mediatek/Kconfig | 1 +
drivers/soc/mediatek/mt8183-mmsys.h | 26 +++++
drivers/soc/mediatek/mtk-mmsys.c | 145 +++++++++++++++++++++++++
drivers/soc/mediatek/mtk-mmsys.h | 2 +
drivers/soc/mediatek/mtk-mutex.c | 140 +++++++++++++++++++++++-
include/linux/soc/mediatek/mtk-mmsys.h | 80 ++++++++++++++
include/linux/soc/mediatek/mtk-mutex.h | 9 ++
7 files changed, 401 insertions(+), 2 deletions(-)
--
2.18.0