mbox series

[v1,00/14] Add mdp support for mt8195

Message ID 20220117055254.9777-1-roy-cw.yeh@mediatek.com (mailing list archive)
Headers show
Series Add mdp support for mt8195 | expand

Message

roy-cw.yeh Jan. 17, 2022, 5:52 a.m. UTC
From: "Roy-CW.Yeh" <roy-cw.yeh@mediatek.com>

Add a chip independence architecture to make
mt8195 mdp driver compatible with previous soc.

Add dual-pipe feature and memory reconfiguration
to increase mdp performance.

Add below patch to support MDP driver on MT8195
  [PATCH v1 1/14] soc: mediatek: mmsys: expand MDP enum for chip independence
    architecture
  [PATCH v1 2/14] soc: mediatek: mutex: expand parameter for mdp mutex function
  [PATCH v1 3/14] soc: mediatek: mmsys: support mt8195 vppsys0/1
  [PATCH v1 4/14] soc: mediatek: mutex: support mt8195 vppsys0/1
  [PATCH v1 5/14] media: platform: mtk-mdp3: add chip independence architecture
  [PATCH v1 6/14] media: platform: mtk-mdp3: Modify mtk-img-ipi.h for MT8195 SCP
  [PATCH v1 7/14] media: platform: mtk-mdp3: Add platform configuration for MT8195
  [PATCH v1 8/14] media: platform: mtk-mdp3: Add engine setting for MT8195
  [PATCH v1 9/14] media: platform: mtk-mdp3: Add support MT8195
  [PATCH v1 10/14] media: platform: mtk-mdp3: Add dual pipe feature support
  [PATCH v1 11/14] media: platform: mtk-mdp3: Revise frame change criteria
  [PATCH v1 12/14] media: platform: mtk-mdp3: Reconfigure shared memory
  [PATCH v1 13/14] arm64: dts: mt8195: add mdp3 node
  [PATCH v1 14/14] dt-bindings: media: mediatek: mdp3: add yaml for new modules added in
    mt8195

 .../bindings/arm/mediatek/mediatek,mmsys.yaml |    2 +
 .../bindings/media/mediatek,mdp3-aal.yaml     |   56 +
 .../bindings/media/mediatek,mdp3-color.yaml   |   56 +
 .../bindings/media/mediatek,mdp3-fg.yaml      |   55 +
 .../bindings/media/mediatek,mdp3-hdr.yaml     |   55 +
 .../bindings/media/mediatek,mdp3-merge.yaml   |   54 +
 .../bindings/media/mediatek,mdp3-ovl.yaml     |   53 +
 .../bindings/media/mediatek,mdp3-pad.yaml     |   56 +
 .../bindings/media/mediatek,mdp3-rdma.yaml    |   28 +
 .../bindings/media/mediatek,mdp3-rsz.yaml     |    2 +
 .../bindings/media/mediatek,mdp3-split.yaml   |   58 +
 .../bindings/media/mediatek,mdp3-stitch.yaml  |   53 +
 .../bindings/media/mediatek,mdp3-tcc.yaml     |   54 +
 .../bindings/media/mediatek,mdp3-tdshp.yaml   |   61 +
 .../bindings/media/mediatek,mdp3-wrot.yaml    |    3 +
 .../bindings/soc/mediatek/mediatek,mutex.yaml |    6 +
 arch/arm64/boot/dts/mediatek/mt8195.dtsi      |  633 +++++++
 drivers/media/platform/mtk-mdp3/mdp_reg_aal.h |   24 +
 .../media/platform/mtk-mdp3/mdp_reg_color.h   |   29 +
 drivers/media/platform/mtk-mdp3/mdp_reg_fg.h  |   23 +
 drivers/media/platform/mtk-mdp3/mdp_reg_hdr.h |   31 +
 .../media/platform/mtk-mdp3/mdp_reg_merge.h   |   23 +
 drivers/media/platform/mtk-mdp3/mdp_reg_ovl.h |   24 +
 drivers/media/platform/mtk-mdp3/mdp_reg_pad.h |   20 +
 .../media/platform/mtk-mdp3/mdp_reg_rdma.h    |   31 +
 drivers/media/platform/mtk-mdp3/mdp_reg_rsz.h |    2 +
 .../media/platform/mtk-mdp3/mdp_reg_tdshp.h   |  116 ++
 .../media/platform/mtk-mdp3/mdp_reg_wrot.h    |   18 +
 drivers/media/platform/mtk-mdp3/mt8183_mdp.h  |  411 +++++
 drivers/media/platform/mtk-mdp3/mt8195_mdp.h  |  683 ++++++++
 drivers/media/platform/mtk-mdp3/mtk-img-ipi.h |  219 ++-
 .../media/platform/mtk-mdp3/mtk-mdp3-cmdq.c   |  782 +++++++--
 .../media/platform/mtk-mdp3/mtk-mdp3-cmdq.h   |    4 +
 .../media/platform/mtk-mdp3/mtk-mdp3-comp.c   | 1453 +++++++++++++++--
 .../media/platform/mtk-mdp3/mtk-mdp3-comp.h   |   90 +-
 .../media/platform/mtk-mdp3/mtk-mdp3-core.c   |  118 +-
 .../media/platform/mtk-mdp3/mtk-mdp3-core.h   |   42 +-
 .../media/platform/mtk-mdp3/mtk-mdp3-m2m.c    |   27 +
 .../media/platform/mtk-mdp3/mtk-mdp3-regs.c   |  356 ++--
 .../media/platform/mtk-mdp3/mtk-mdp3-regs.h   |  292 ++--
 .../media/platform/mtk-mdp3/mtk-mdp3-vpu.c    |  106 +-
 .../media/platform/mtk-mdp3/mtk-mdp3-vpu.h    |    9 +
 drivers/soc/mediatek/mt8195-mmsys.h           |   23 +
 drivers/soc/mediatek/mtk-mmsys.c              |   22 +
 drivers/soc/mediatek/mtk-mmsys.h              |    3 +
 drivers/soc/mediatek/mtk-mutex.c              |   79 +-
 include/linux/soc/mediatek/mtk-mmsys.h        |   92 +-
 include/linux/soc/mediatek/mtk-mutex.h        |    2 +-
 48 files changed, 5648 insertions(+), 791 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-aal.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-color.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-fg.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-hdr.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-merge.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-ovl.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-pad.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-split.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-stitch.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,mdp3-tdshp.yaml
 create mode 100644 drivers/media/platform/mtk-mdp3/mdp_reg_aal.h
 create mode 100644 drivers/media/platform/mtk-mdp3/mdp_reg_color.h
 create mode 100644 drivers/media/platform/mtk-mdp3/mdp_reg_fg.h
 create mode 100644 drivers/media/platform/mtk-mdp3/mdp_reg_hdr.h
 create mode 100644 drivers/media/platform/mtk-mdp3/mdp_reg_merge.h
 create mode 100644 drivers/media/platform/mtk-mdp3/mdp_reg_ovl.h
 create mode 100644 drivers/media/platform/mtk-mdp3/mdp_reg_pad.h
 create mode 100644 drivers/media/platform/mtk-mdp3/mdp_reg_tdshp.h
 create mode 100644 drivers/media/platform/mtk-mdp3/mt8183_mdp.h
 create mode 100644 drivers/media/platform/mtk-mdp3/mt8195_mdp.h