All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Change mmsys compatible for mt8195 mediatek-drm
@ 2022-09-14 18:23 ` Jason-JH.Lin
  0 siblings, 0 replies; 51+ messages in thread
From: Jason-JH.Lin @ 2022-09-14 18:23 UTC (permalink / raw)
  To: Matthias Brugger, Chun-Kuang Hu, Rob Herring,
	Krzysztof Kozlowski, AngeloGioacchino Del Regno
  Cc: devicetree, Jason-JH.Lin, Singo Chang, linux-kernel, dri-devel,
	Project_Global_Chrome_Upstream_Group, Rex-BC Chen, Nancy Lin,
	linux-mediatek, linux-arm-kernel

For previous MediaTek SoCs, such as MT8173, there are 2 display HW
pipelines binding to 1 mmsys with the same power domain, the same
clock driver and the same mediatek-drm driver.

For MT8195, VDOSYS0 and VDOSYS1 are 2 display HW pipelines binding to
2 different power domains, different clock drivers and different
mediatek-drm drivers.

Moreover, Hardware pipeline of VDOSYS0 has these components: COLOR,
CCORR, AAL, GAMMA, DITHER. They are related to the PQ (Picture Quality)
and they makes VDOSYS0 supports PQ function while they are not
including in VDOSYS1.

Hardware pipeline of VDOSYS1 has the component ETHDR (HDR related
component). It makes VDOSYS1 supports the HDR function while it's not
including in VDOSYS0.

To summarize0:
Only VDOSYS0 can support PQ adjustment.
Only VDOSYS1 can support HDR adjustment.

Therefore, we need to separate these two different mmsys hardwares to
2 different compatibles for MT8195.

Jason-JH.Lin (5):
  dt-bindings: arm: mediatek: mmsys: change compatible for MT8195
  soc: mediatek: change compatible name for mt8195
  drm/mediatek: change compatible name for mt8195
  arm64: dts: change compatible of vdosys0 and vdosys1 for mt8195
  dt-bindings: arm: mediatek: mmsys: remove the unused compatible for
    mt8195

 .../bindings/arm/mediatek/mediatek,mmsys.yaml |   3 +-
 arch/arm64/boot/dts/mediatek/mt8195.dtsi      |   4 +-
 drivers/gpu/drm/mediatek/mtk_drm_drv.c        | 124 ++-------------
 drivers/gpu/drm/mediatek/mtk_drm_drv.h        |   6 -
 drivers/soc/mediatek/mtk-mmsys.c              | 141 +++---------------
 drivers/soc/mediatek/mtk-mmsys.h              |   6 -
 6 files changed, 36 insertions(+), 248 deletions(-)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2022-09-16  2:01 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14 18:23 [PATCH 0/5] Change mmsys compatible for mt8195 mediatek-drm Jason-JH.Lin
2022-09-14 18:23 ` Jason-JH.Lin
2022-09-14 18:23 ` Jason-JH.Lin
2022-09-14 18:23 ` [PATCH 1/5] dt-bindings: arm: mediatek: mmsys: change compatible for MT8195 Jason-JH.Lin
2022-09-14 18:23   ` Jason-JH.Lin
2022-09-14 18:23   ` Jason-JH.Lin
2022-09-14 21:24   ` Matthias Brugger
2022-09-14 21:24     ` Matthias Brugger
2022-09-14 21:24     ` Matthias Brugger
2022-09-15  1:24     ` Jason-JH Lin
2022-09-15  1:24       ` Jason-JH Lin
2022-09-15  1:24       ` Jason-JH Lin
2022-09-15 16:20       ` Matthias Brugger
2022-09-15 16:20         ` Matthias Brugger
2022-09-15 16:20         ` Matthias Brugger
2022-09-16  1:08         ` Jason-JH Lin
2022-09-16  1:08           ` Jason-JH Lin
2022-09-16  1:08           ` Jason-JH Lin
2022-09-16  1:11         ` Jason-JH Lin
2022-09-16  1:11           ` Jason-JH Lin
2022-09-16  1:11           ` Jason-JH Lin
2022-09-14 18:23 ` [PATCH 2/5] soc: mediatek: change compatible name for mt8195 Jason-JH.Lin
2022-09-14 18:23   ` Jason-JH.Lin
2022-09-14 18:23   ` Jason-JH.Lin
2022-09-14 20:42   ` Matthias Brugger
2022-09-14 20:42     ` Matthias Brugger
2022-09-14 20:42     ` Matthias Brugger
2022-09-15  1:31     ` Jason-JH Lin
2022-09-15  1:31       ` Jason-JH Lin
2022-09-15  1:31       ` Jason-JH Lin
2022-09-14 18:23 ` [PATCH 3/5] drm/mediatek: " Jason-JH.Lin
2022-09-14 18:23   ` Jason-JH.Lin
2022-09-14 18:23   ` Jason-JH.Lin
2022-09-14 18:23 ` [PATCH 4/5] arm64: dts: change compatible of vdosys0 and vdosys1 " Jason-JH.Lin
2022-09-14 18:23   ` Jason-JH.Lin
2022-09-14 18:23   ` Jason-JH.Lin
2022-09-15 16:15   ` Matthias Brugger
2022-09-15 16:15     ` Matthias Brugger
2022-09-15 16:15     ` Matthias Brugger
2022-09-16  0:54     ` Jason-JH Lin
2022-09-16  0:54       ` Jason-JH Lin
2022-09-16  0:54       ` Jason-JH Lin
2022-09-14 18:23 ` [PATCH 5/5] dt-bindings: arm: mediatek: mmsys: remove the unused compatible " Jason-JH.Lin
2022-09-14 18:23   ` Jason-JH.Lin
2022-09-14 18:23   ` Jason-JH.Lin
2022-09-14 20:45   ` Matthias Brugger
2022-09-14 20:45     ` Matthias Brugger
2022-09-14 20:45     ` Matthias Brugger
2022-09-15  1:37     ` Jason-JH Lin
2022-09-15  1:37       ` Jason-JH Lin
2022-09-15  1:37       ` Jason-JH Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.