From: "Paul-pl.Chen" <paul-pl.chen@xxxxxxxxxxxx> Add support multiple mmsys instances in the one mediatek-drm instance. Nancy.Lin (7): soc: mediatek: add mmsys support for MT8196 soc: mediatek: mutex: add mutex support for MT8196 drm/mediatek: add EXDMA support for MT8196 drm/mediatek: add BLENDER support for MT8196 drm/mediatek: add OUTPROC support for MT8196 drm/mediatek: add ovlsys_adaptor support for MT8196 drm/mediatek: Add support for multiple mmsys in the one mediatek-drm driver Paul-pl.Chen (5): dt-bindings: arm: mediatek: mmsys: add compatible for MT8196 dt-bindings: soc: mediatek: add mutex yaml for MT8196 dt-bindings: display: mediatek: add EXDMA yaml for MT8196 dt-bindings: display: mediatek: add BLENDER yaml for MT8196 dt-bindings: display: mediatek: add OUTPROC yaml for MT8196 .../bindings/arm/mediatek/mediatek,mmsys.yaml | 5 + .../display/mediatek/mediatek,blender.yaml | 50 ++ .../display/mediatek/mediatek,exdma.yaml | 77 ++ .../display/mediatek/mediatek,outproc.yaml | 57 ++ .../bindings/soc/mediatek/mediatek,mutex.yaml | 2 + drivers/gpu/drm/mediatek/Makefile | 4 + drivers/gpu/drm/mediatek/mtk_crtc.c | 350 ++++++-- drivers/gpu/drm/mediatek/mtk_crtc.h | 6 +- drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 134 +++- drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 6 + drivers/gpu/drm/mediatek/mtk_disp_blender.c | 352 ++++++++ drivers/gpu/drm/mediatek/mtk_disp_blender.h | 17 + drivers/gpu/drm/mediatek/mtk_disp_drv.h | 66 +- drivers/gpu/drm/mediatek/mtk_disp_exdma.c | 447 +++++++++++ drivers/gpu/drm/mediatek/mtk_disp_outproc.c | 244 ++++++ drivers/gpu/drm/mediatek/mtk_disp_outproc.h | 22 + .../drm/mediatek/mtk_disp_ovlsys_adaptor.c | 758 ++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 287 ++++++- drivers/gpu/drm/mediatek/mtk_drm_drv.h | 28 +- drivers/soc/mediatek/mt8196-mmsys.h | 447 +++++++++++ drivers/soc/mediatek/mtk-mmsys.c | 204 ++++- drivers/soc/mediatek/mtk-mmsys.h | 18 + drivers/soc/mediatek/mtk-mutex.c | 233 +++++- include/linux/soc/mediatek/mtk-mmsys.h | 60 ++ include/linux/soc/mediatek/mtk-mutex.h | 2 + 25 files changed, 3734 insertions(+), 142 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,blender.yaml create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,exdma.yaml create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,outproc.yaml create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_blender.c create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_blender.h create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_exdma.c create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_outproc.c create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_outproc.h create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_ovlsys_adaptor.c create mode 100644 drivers/soc/mediatek/mt8196-mmsys.h -- 2.34.1