edid-decode: check if DTD == HDMI 2 but VICs HDMI 1
commit100437cf02a3faafec59e9e863117fa53e925aa6
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 31 Oct 2023 11:30:25 +0000 (31 12:30 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 31 Oct 2023 11:30:25 +0000 (31 12:30 +0100)
tree63100414946fbcb03e787e647b1a50ac4264b0d8
parente0c5b96d5f4a1ef4ce523bae1fe274b6f63f5820
edid-decode: check if DTD == HDMI 2 but VICs HDMI 1

If the DTD matches a VIC with pixelclock > 340 MHz, and
the highest VIC pixelclock <= 340 MHz, then report a
mismatch: DTD is an HDMI 2.x timing, while all VICs
are HDMI 1.x timings.

This suggests that the display has HDMI 2.x support disabled
(a common menu setting), and that HDMI 2.x VICs are removed
from the CTA Extension Block, but the DTD in the Base Block
is not updated and still lists an HDMI 2.x timing.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
edid-decode.cpp
edid-decode.h
parse-cta-block.cpp