Re: [PATCH v2 0/5] Share mtk mutex driver for both DRM and MDP

Chun-Kuang Hu
2021-01-19T23:44:36Z

Chun-Kuang Hu <chunkuang.hu@kernel.org> 於 2021年1月7日 週四 上午7:17寫道：
>
> mtk mutex is a driver used by DRM and MDP [1], so this series move
> mtk mutex driver from DRM folder to soc folder, so it could be used
> by DRM and MDP.

Applied [1/5] ~ [4/5] to mediatek-drm-next [1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next

Regards,
Chun-Kuang.

>
> Changes in v2:
> 1. Rebase onto mediatek-drm-next [2].
> 2. Export symbol for mtk-mutex API.
>
> [1] https://patchwork.kernel.org/patch/11140751/
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
>
> CK Hu (5):
> drm/mediatek: Remove redundant file including
> drm/mediatek: Rename file mtk_drm_ddp to mtk_mutex
> drm/mediatek: Change disp/ddp term to mutex in mtk mutex driver
> drm/mediatek: Automatically search unclaimed mtk mutex in
> mtk_mutex_get()
> soc / drm: mediatek: Move mtk mutex driver to soc folder
>
> drivers/gpu/drm/mediatek/Makefile | 1 -
> drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 32 +-
> drivers/gpu/drm/mediatek/mtk_drm_ddp.h | 28 --
> drivers/gpu/drm/mediatek/mtk_drm_drv.c | 3 -
> drivers/gpu/drm/mediatek/mtk_drm_drv.h | 1 -
> drivers/soc/mediatek/Makefile | 1 +
> .../mediatek/mtk-mutex.c} | 328 +++++++++---------
> include/linux/soc/mediatek/mtk-mutex.h | 26 ++
> 8 files changed, 212 insertions(+), 208 deletions(-)
> delete mode 100644 drivers/gpu/drm/mediatek/mtk_drm_ddp.h
> rename drivers/{gpu/drm/mediatek/mtk_drm_ddp.c => soc/mediatek/mtk-mutex.c} (53%)
> create mode 100644 include/linux/soc/mediatek/mtk-mutex.h
>
> --
> 2.17.1