[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <09c87f13-477d-4721-b27d-f2f2e48f4f71@collabora.com>
Date: Mon, 13 Jan 2025 13:50:59 +0100
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
To: "paul-pl.chen" <paul-pl.chen@...iatek.com>, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, chunkuang.hu@...nel.org
Cc: matthias.bgg@...il.com, p.zabel@...gutronix.de,
jason-jh.lin@...iatek.com, nancy.lin@...iatek.com, singo.chang@...iatek.com,
xiandong.wang@...iatek.com, sirius.wang@...iatek.com,
sunny.shen@...iatek.com, fshao@...omium.org, treapking@...omium.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
Project_Global_Chrome_Upstream_Group@...iatek.com
Subject: Re: [PATCH 00/12] Add Mediatek Soc DRM support for mt8196
Il 10/01/25 13:33, paul-pl.chen ha scritto:
> From: "Paul-pl.Chen" <paul-pl.chen@...iatek.com>
>
> Add support multiple mmsys instances in the one mediatek-drm instance.
>
Hello Paul,
EXDMA, BLENDER and OUTPROC seem to have many things in common with the current
mtk_disp_ovl.c driver.
Please commonize code from mtk_disp_ovl to reuse in these three components that
you're adding, as there is a lot of code duplication.
Thanks,
Angelo
> 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
>
Powered by blists - more mailing lists