mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
DMT monitors does not necessarely report a maximum TMDS clock
in a VSDB EDID extension.
In this case, all modes are wrongly rejected, including
the DRM fallback EDID.
This patch only rejects modes whith clock > max_tmds_clock if
the max_tmds_clock is specified. This will only reject
4:2:0 HDMI2.0 modes, who reports a clock > max_tmds_clock.
Reported-by: Maxime Jourdan <[email protected]>
Fixes: d7d8fb7046 ("drm/meson: add HDMI div40 TMDS mode")
Signed-off-by: Neil Armstrong <[email protected]>
Tested-by: Maxime Jourdan <[email protected]>
Reviewed-by: Maxime Jourdan <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]