mbox series

[v1,00/17] Add MediaTek SoC DRM (vdosys0) support for mt8195

Message ID 20210707041249.29816-1-jason-jh.lin@mediatek.com (mailing list archive)
Headers show
Series Add MediaTek SoC DRM (vdosys0) support for mt8195 | expand

Message

Jason-JH Lin (林睿祥) July 7, 2021, 4:12 a.m. UTC
The hardware path of vdosys0 with eDP panel output need to go through
by several modules, such as, OVL, RDMA, COLOR, CCORR, AAL, GAMMA,
DITHER, MERGE and DSC.

Add DRM and these modules support by the patches below:
jason-jh.lin (17):
  dt-bindings: mediatek: add definition for mt8195 display
  dt-bindings: arm: mediatek: add definition for mt8195 mmsys
  arm64: dts: mt8195: add display node for vdosys0
  soc: mediatek: add mtk-mmsys support for mt8195 vdosys0
  drm/mediatek: add mediatek-drm of vdosys0 support for MT8195
  soc: mediatek: add mtk-mutex support for mt8195
  drm/mediatek: add OVL support for MT8195
  drm/mediatek: Add component_del in OVL remove function
  drm/mediatek: add OVL support multi-layer
  drm/mediatek: add RDMA support for MT8195
  drm/mediatek: add COLOR support for MT8195
  drm/mediatek: add CCORR support for MT8195
  drm/mediatek: Add AAL support for MT8195
  drm/mediatek: add GAMMA support for MT8195
  drm/mediatek: add DITHER support for MT8195
  drm/mediatek: add MERGE support for MT8195
  drm/mediatek: add DSC support for MT8195

 .../bindings/arm/mediatek/mediatek,mmsys.txt  |  15 +
 .../display/mediatek/mediatek,disp.txt        |  13 +-
 arch/arm64/boot/dts/mediatek/mt8195.dtsi      | 105 +++
 drivers/clk/mediatek/clk-mt8195-vdo0.c        |  24 +-
 drivers/gpu/drm/mediatek/Makefile             |   5 +-
 drivers/gpu/drm/mediatek/mtk_disp_ccorr.c     |   2 +
 drivers/gpu/drm/mediatek/mtk_disp_color.c     |   6 +
 drivers/gpu/drm/mediatek/mtk_disp_drv.h       |  19 +
 drivers/gpu/drm/mediatek/mtk_disp_dsc.c       | 286 ++++++++
 drivers/gpu/drm/mediatek/mtk_disp_gamma.c     |   2 +
 drivers/gpu/drm/mediatek/mtk_disp_merge.c     | 623 ++++++++++++++++++
 drivers/gpu/drm/mediatek/mtk_disp_ovl.c       |  27 +-
 drivers/gpu/drm/mediatek/mtk_disp_rdma.c      |   6 +
 drivers/gpu/drm/mediatek/mtk_drm_crtc.h       |  32 +
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c   |  37 +-
 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h   |   2 +
 drivers/gpu/drm/mediatek/mtk_drm_drv.c        |  48 ++
 drivers/gpu/drm/mediatek/mtk_drm_drv.h        |   2 +
 drivers/gpu/drm/mediatek/mtk_panel_ext.c      | 136 ++++
 drivers/gpu/drm/mediatek/mtk_panel_ext.h      | 344 ++++++++++
 drivers/soc/mediatek/mt8195-mmsys.h           | 191 ++++++
 drivers/soc/mediatek/mtk-mmsys.c              |  11 +
 drivers/soc/mediatek/mtk-mutex.c              | 107 ++-
 include/linux/soc/mediatek/mtk-mmsys.h        |   9 +
 24 files changed, 2029 insertions(+), 23 deletions(-)
 create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_dsc.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_merge.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_panel_ext.c
 create mode 100644 drivers/gpu/drm/mediatek/mtk_panel_ext.h
 create mode 100644 drivers/soc/mediatek/mt8195-mmsys.h