]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/meson: venc: add support for HDMI DMT modes up to 3840x2160
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 8 Nov 2025 13:42:36 +0000 (14:42 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 5 Jan 2026 15:09:57 +0000 (16:09 +0100)
commit26ce0b87a815c71d24fd193a81c06daefb60959f
tree8bec95c613a06a535b7d8a0cff1bcd0f9f957eea
parent91ce41427d468cd103a08970b448a42430f9e52f
drm/meson: venc: add support for HDMI DMT modes up to 3840x2160

Commit 5d0bfe448481 ("drm/meson: Add HDMI 1.4 4k modes") added support
for HDMI 1.4 4k modes, which is what TVs need. For computer monitors
the code is using the DMT code-path, which ends up in
meson_venc_hdmi_supported_mode(), which does not allow the 4k modes yet.

The datasheet for all supported SoCs mentions "4Kx2K@60". It's not
clear whether "4K" here means 3840 or 4096 pixels.

Allow resolutions up to 3840x2160 pixels (including middle steps, such
as WQHD at 2560x1440 pixels) so they can be used with computer monitors
(using the DMT code-path in the driver).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251108134236.1299630-1-martin.blumenstingl@googlemail.com
drivers/gpu/drm/meson/meson_venc.c