]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/mediatek: mtk_dpi: Allow additional output formats on MT8195/88
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 9 Apr 2025 13:13:05 +0000 (15:13 +0200)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Sun, 27 Apr 2025 01:35:03 +0000 (01:35 +0000)
commit20fa6a8fc5882b12753267206878c8e3c44c01b9
treef51cb85a73586e56131e10ac40f9607148c1527f
parent5d0253cde51de996283ccce207351181cf72a75d
drm/mediatek: mtk_dpi: Allow additional output formats on MT8195/88

Allow additional output formats in both DPI and DP_INTF blocks of
the MT8195 and MT8188 SoCs (as the latter is fully compatible with,
hence reuses, the former's platform data for both blocks) by adding:

1. New formats to the `mt8195_output_fmts` array for dp_intf,
   lacking YUV422 12-bits support, and adding RGB888 2X12_LE/BE
   (8-bits), BGR888 (8-bits) RGB101010 1x30 (10-bits), and YUV
   formats, including YUV422 8/10 bits, and YUV444 8/10 bits; and
2. A new `mt8195_dpi_output_fmts` array for DPI only, with all of
   for formats added to dp_intf and with the addition of the
   YUYV12_1X24 (YUV422 12-bits) output format.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20250409131306.108635-5-angelogioacchino.delregno@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dpi.c