The hardware path of vdosys1 with DPTx output need to go through by several modules, such as, PSEUDO_OVL, ETHDR, and MERGE. Add DRM and these modules support by the patches below: Signed-off-by: Nancy.Lin <nancy.lin@xxxxxxxxxxxx> --- This series are based on the following patch: [1] arm64: dts: Add Mediatek SoC MT8195 and evaluation board dts and Makefile https://patchwork.kernel.org/project/linux-mediatek/patch/20210601075350.31515-2-seiya.wang@xxxxxxxxxxxx/ [2] arm64: dts: mt8195: add IOMMU and smi nodes https://patchwork.kernel.org/project/linux-mediatek/patch/20210615173233.26682-15-tinghan.shen@xxxxxxxxxxxx/ [3] [01/24] dt-bindings: mediatek: mt8195: Add binding for MM IOMMU https://patchwork.kernel.org/project/linux-mediatek/patch/20210630023504.18177-2-yong.wu@xxxxxxxxxxxx/ [4] Add gce support for mt8195 https://patchwork.kernel.org/project/linux-mediatek/list/?series=515599 [5] Add MediaTek SoC DRM (vdosys0) support for mt8195 https://patchwork.kernel.org/project/linux-mediatek/list/?series=516277 --- Nancy.Lin (10): [PATCH v1 01/10] dt-bindings: mediatek: add pseudo-ovl definition for mt8195 [PATCH v1 02/10] dt-bindings: mediatek: add ethdr definition for mt8195 [PATCH v1 03/10] arm64: dts: mt8195: add display node for vdosys1 [PATCH v1 04/10] soc: mediatek: add mtk-mmsys support for mt8195 vdosys1 [PATCH v1 05/10] soc: mediatek: add mtk-mutex support for mt8195 vdosys1 [PATCH v1 06/10] drm/mediatek: add ETHDR support for MT8195 [PATCH v1 07/10] drm/mediatek: add pseudo ovl support for MT8195 [PATCH v1 08/10] drm/mediatek: add merge vblank support for MT8195 [PATCH v1 09/10] soc: mediatek: mmsys: add new mtk_mmsys struct member to store drm data. [PATCH v1 10/10] drm/mediatek: add mediatek-drm of vdosys1 support for MT8195 .../display/mediatek/mediatek,disp.yaml | 10 + .../display/mediatek/mediatek,ethdr.yaml | 137 ++++ .../display/mediatek/mediatek,pseudo-ovl.yaml | 105 +++ arch/arm64/boot/dts/mediatek/mt8195.dtsi | 206 ++++++ drivers/gpu/drm/mediatek/Makefile | 5 +- drivers/gpu/drm/mediatek/mtk_disp_drv.h | 24 + drivers/gpu/drm/mediatek/mtk_disp_merge.c | 56 ++ .../gpu/drm/mediatek/mtk_disp_pseudo_ovl.c | 655 ++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 37 +- drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 3 +- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 63 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 18 +- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 375 ++++++++-- drivers/gpu/drm/mediatek/mtk_drm_drv.h | 17 +- drivers/gpu/drm/mediatek/mtk_ethdr.c | 537 ++++++++++++++ drivers/gpu/drm/mediatek/mtk_ethdr.h | 20 + drivers/gpu/drm/mediatek/mtk_mdp_rdma.c | 456 ++++++++++++ drivers/gpu/drm/mediatek/mtk_mdp_rdma.h | 109 +++ drivers/gpu/drm/mediatek/mtk_mdp_reg_rdma.h | 160 +++++ drivers/soc/mediatek/mt8195-mmsys.h | 83 ++- drivers/soc/mediatek/mtk-mmsys.c | 11 + drivers/soc/mediatek/mtk-mutex.c | 270 +++++--- include/linux/soc/mediatek/mtk-mmsys.h | 3 + 23 files changed, 3166 insertions(+), 194 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,ethdr.yaml create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,pseudo-ovl.yaml create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_pseudo_ovl.c create mode 100644 drivers/gpu/drm/mediatek/mtk_ethdr.c create mode 100644 drivers/gpu/drm/mediatek/mtk_ethdr.h create mode 100644 drivers/gpu/drm/mediatek/mtk_mdp_rdma.c create mode 100644 drivers/gpu/drm/mediatek/mtk_mdp_rdma.h create mode 100644 drivers/gpu/drm/mediatek/mtk_mdp_reg_rdma.h -- 2.18.0