On Sat, Nov 14, 2026 at 08:03:39PM +0200, Cristian Ciocaltea wrote: > Add a new test EDID advertising the following capabilities: > > Max resolution: 3840x2160@60Hz with RGB, YUV444, YUV422, YUV420 > Max BPC: 16 > Max TMDS clock: 600 MHz > > This is needed to exercise the new HDMI infrastructure that decides > whether scrambling needs to be enabled for a given display mode and > to validate that high-rate modes are properly rejected/accepted > depending on the source/sink scrambling capability. > > The EDID is derived from test_edid_hdmi_4k_rgb_yuv420_dc_max_340mhz > with the following changes: > > - Upgraded the first DTD from 3840x2160@30 (297 MHz) to 3840x2160@60 > (594 MHz). The H/V totals (4400x2250) and porches already match the > HDMI 2.0 4K@60Hz standard timing, so only the pixel clock had to be > bumped. > - Widened Display Range Limits descriptor to cover the new timing, i.e. > 24-140 kHz H, max dotclock 600 MHz. > - Updated CTA-861 Video Data Block to advertise VIC 97 (4K@60Hz) instead > of VIC 95 (4k30). > - Bumped HF-VSDB Max TMDS Character Rate to 600 MHz, keeping > SCDC_Present set so that the sink advertises scrambling support. > - Cleared HDMI VSDB Max TMDS clock byte, as required by HDMI 2.0 when > the HF-VSDB declares a Max TMDS Character Rate above 340 MHz. > - Provided a Video Capability Data Block advertising selectable RGB and > YCC quantization range plus underscan for IT/CE formats; also set the > 'IT Video Formats Underscanned' bit in the CTA-861 extension header to > match. > - Aligned base block image size with the DTD (160x90 cm) and set the > Week of Manufacture to 0x00 instead of 0xff, since the Model Year > flag is not supported by EDID 1.3, so that the Model year field > becomes a regular Year of Manufacture. Both fix inherited EDID > conformity failures. > - Dropped the empty YCbCr 4:2:0 Video Data Block inherited from the > parent EDID, which is flagged as a failure by edid-decode v1.33.0 > > Signed-off-by: Cristian Ciocaltea > --- > drivers/gpu/drm/tests/drm_kunit_edid.c | 129 +++++++++++++++++++++++++++++++++ > drivers/gpu/drm/tests/drm_kunit_edid.h | 1 + > 2 files changed, 130 insertions(+) Acked-by: Maxime Ripard Having a sample for that one would be nice too Maxime