drm/tests: edid: Improve our kunit EDIDs
Subsystems (2)
Maxime Ripard
maintainercover drm/tests: edid: Improve our kunit EDIDs
Hi,
Here's a series fixing a few issues I found looking into our kunit EDIDs some more.
Let me know what you think,
Maxime
---
Maxime Ripard (3):
drm/tests: edid: Fix monitor range limits
drm/tests: edid: Update CTA-861 HDMI Vendor Specific Data Block drm/tests: edid: Add edid-decode --check output
drivers/gpu/drm/tests/drm_kunit_edid.h | 142 ++++++++++++++++++++++----------- 1 file changed, 94 insertions(+), 48 deletions(-)
---
base-commit: e04c78d86a9699d136910cfc0bdcf01087e3267e
change-id: 20250625-drm-update-edid-590c388be7cb
Best regards,
Signature · 1 line
Maxime Ripard <[email protected]>
Maxime Ripard
maintainerPATCH 1/3 drm/tests: edid: Fix monitor range limits
For some reason, some EDIDs used by kunit had Monitor Range Limits making no sense, and not matching the edid-decode output in the comment.
While they were in the comments as:
Display Range Limits:
Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
They were actually:
Display Range Limits:
Monitor ranges (GTF): 50-70 Hz V, 0-0 kHz H, max dotclock 1960 MHz
Fix that section of the EDIDs to match the expected edid-decode output.
--- drivers/gpu/drm/tests/drm_kunit_edid.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/tests/drm_kunit_edid.h +6 -6
@@ -145,13 +145,13 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {0x00 ,0x00 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x01 ,0x02 ,0x3a ,0x80 ,0x18 ,0x71 ,0x38 ,0x2d ,0x40 ,0x58 ,0x2c ,0x45 ,0x00 ,0x40 ,0x84 ,0x63 ,0x00 ,0x00 ,0x1e ,0x00 ,0x00 ,0x00 ,0xfc ,0x00 ,0x54 ,0x65 ,0x73 ,0x74 ,0x20 ,0x45 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fix monitor range limits
Quoted 7 lines · Maxime Ripard
For some reason, some EDIDs used by kunit had Monitor Range Limits making no sense, and not matching the edid-decode output in the comment.
While they were in the comments as:
Display Range Limits:
Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
Quoted 8 lines
They were actually:
Display Range Limits:
Monitor ranges (GTF): 50-70 Hz V, 0-0 kHz H, max dotclock 1960 MHzFix that section of the EDIDs to match the expected edid-decode output.
Signed-off-by Maxime Ripard <[email protected]>---
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Maxime Ripard
maintainerPATCH 2/3 drm/tests: edid: Update CTA-861 HDMI Vendor Specific Data Block
In reply to Maxime RipardFor some reason, the HDMI VSDBs in our kunit EDIDs had a length longer than expected.
While this was harmless, we should get rid of it to make it somewhat predictable.
--- drivers/gpu/drm/tests/drm_kunit_edid.h | 85 ++++++++++++++++------------------ 1 file changed, 40 insertions(+), 45 deletions(-)
drivers/gpu/drm/tests/drm_kunit_edid.h +40 -45
@@ -71,18 +71,18 @@ static const unsigned char test_edid_dvi_1080p[] = {* 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92 * -* 02 03 1b 81 e3 05 00 20 41 10 e2 00 4a 6d 03 0c -* 00 12 34 00 14 20 00 00 00 00 00 00 00 00 00 00 +* 02 03 15 81 e3 05 00 20 41 10 e2 00 4a 67 03 0c +* 00 12 34 00 14 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e4 +* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 * * ---------------- * * Block 0, Base EDID: * EDID Structure Version & Revision: 1.3
@@ -133,12 +133,11 @@ static const unsigned char test_edid_dvi_1080p[] = {* IT scan behavior: Always Underscanned * CE scan behavior: Always Underscanned * Vendor-Specific Data Block (HDMI), OUI 00-0C-03: * Source physical address: 1.2.3.4 * Maximum TMDS clock: 100 MHz -* Extended HDMI video details: -* Checksum: 0xe4 Unused space in Extension Block: 100 bytes +* Checksum: 0x10 Unused space in Extension Block: 106 bytes */ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x02 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,
@@ -147,22 +146,22 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {0x2d ,0x40 ,0x58 ,0x2c ,0x45 ,0x00 ,0x40 ,0x84 ,0x63 ,0x00 ,0x00 ,0x1e ,0x00 ,0x00 ,0x00 ,0xfc ,0x00 ,0x54 ,0x65 ,0x73 ,0x74 ,0x20 ,0x45 ,0x44 ,0x49 ,0x44 ,0x0a ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0xfd ,0x00 ,0x32 ,0x46 ,0x1e ,0x46 ,0x0f ,0x00 ,0x0a ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0x10 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x01 ,0x92 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*
@@ -173,18 +172,18 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {* 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92 * -* 02 03 1b 81 e3 05 00 20 41 10 e2 00 4a 6d 03 0c -* 00 12 34 00 28 20 00 00 00 00 00 00 00 00 00 00 +* 02 03 15 81 e3 05 00 20 41 10 e2 00 4a 67 03 0c +* 00 12 34 00 28 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0 +* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc * * ---------------- * * Block 0, Base EDID: * EDID Structure Version & Revision: 1.3
@@ -235,12 +234,11 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {* IT scan behavior: Always Underscanned * CE scan behavior: Always Underscanned * Vendor-Specific Data Block (HDMI), OUI 00-0C-03: * Source physical address: 1.2.3.4 * Maximum TMDS clock: 200 MHz -* Extended HDMI video details: -* Checksum: 0xd0 Unused space in Extension Block: 100 bytes +* Checksum: 0xfc Unused space in Extension Block: 106 bytes */ static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x02 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0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0xd0 +0x00 ,0x00 ,0x00 ,0xfc };/* * edid-decode (hex): *
@@ -275,18 +273,18 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {* 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92 * -* 02 03 1b 81 e3 05 00 20 41 10 e2 00 4a 6d 03 0c -* 00 12 34 00 28 20 00 00 00 00 00 00 00 00 00 00 +* 02 03 15 81 e3 05 00 20 41 10 e2 00 4a 67 03 0c +* 00 12 34 00 44 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0 +* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0 * * ---------------- * * Block 0, Base EDID: * EDID Structure Version & Revision: 1.3
@@ -337,12 +335,11 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {* IT scan behavior: Always Underscanned * CE scan behavior: Always Underscanned * Vendor-Specific Data Block (HDMI), OUI 00-0C-03: * Source physical address: 1.2.3.4 * Maximum TMDS clock: 340 MHz -* Extended HDMI video details: -* Checksum: 0xd0 Unused space in Extension Block: 100 bytes +* Checksum: 0xe0 Unused space in Extension Block: 106 bytes */ static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x02 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,
@@ -351,22 +348,22 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {0x2d ,0x40 ,0x58 ,0x2c ,0x45 ,0x00 ,0x40 ,0x84 ,0x63 ,0x00 ,0x00 ,0x1e ,0x00 ,0x00 ,0x00 ,0xfc ,0x00 ,0x54 ,0x65 ,0x73 ,0x74 ,0x20 ,0x45 ,0x44 ,0x49 ,0x44 ,0x0a ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0xfd ,0x00 ,0x32 ,0x46 ,0x1e ,0x46 ,0x0f ,0x00 ,0x0a ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0x10 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00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 ,0x00 ,0x00 ,0xe0 };/* * edid-decode (hex): *
@@ -377,18 +374,18 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {* 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 7a * -* 02 03 1b b1 e3 05 00 20 41 10 e2 00 ca 6d 03 0c -* 00 12 34 78 28 20 00 00 00 00 00 00 00 00 00 00 +* 02 03 15 b1 e3 05 00 20 41 10 e2 00 ca 67 03 0c +* 00 12 34 78 28 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a8 +* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d4 * * ---------------- * * Block 0, Base EDID: * EDID Structure Version & Revision: 1.3
@@ -445,12 +442,11 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {* DC_48bit * DC_36bit * DC_30bit * DC_Y444 * Maximum TMDS clock: 200 MHz -* Extended HDMI video details: -* Checksum: 0xa8 Unused space in Extension Block: 100 bytes +* Checksum: 0xd4 Unused space in Extension Block: 106 bytes */ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x1a ,0x00 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,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0xa8 +0x00 ,0x00 ,0x00 ,0xd4 };/* * edid-decode (hex): *
@@ -485,18 +481,18 @@ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {* 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 8a * -* 02 03 1b b1 e3 05 00 20 41 10 e2 00 ca 6d 03 0c -* 00 12 34 78 44 20 00 00 00 00 00 00 00 00 00 00 +* 02 03 15 b1 e3 05 00 20 41 10 e2 00 ca 67 03 0c +* 00 12 34 78 44 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8c +* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b8 * * ---------------- * * Block 0, Base EDID: * EDID Structure Version & Revision: 1.3
@@ -553,12 +549,11 @@ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {* DC_48bit * DC_36bit * DC_30bit * DC_Y444 * Maximum TMDS clock: 340 MHz -* Extended HDMI video details: -* Checksum: 0x8c Unused space in Extension Block: 100 bytes +* Checksum: 0xb8 Unused space in Extension Block: 106 bytes */ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x0a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,
@@ -567,20 +562,20 @@ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz[] = {0x2d ,0x40 ,0x58 ,0x2c ,0x45 ,0x00 ,0x40 ,0x84 ,0x63 ,0x00 ,0x00 ,0x1e ,0x00 ,0x00 ,0x00 ,0xfc ,0x00 ,0x54 ,0x65 ,0x73 ,0x74 ,0x20 ,0x45 ,0x44 ,0x49 ,0x44 ,0x0a ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0xfd ,0x00 ,0x32 ,0x46 ,0x1e ,0x46 ,0x0f ,0x00 ,0x0a ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0x10 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 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#endif // DRM_KUNIT_EDID_H_
Signature · 1 line
2.49.0
Re: [PATCH 2/3] drm/tests: edid: Update CTA-861 HDMI Vendor Specific Data Block
Quoted 8 lines · Maxime Ripard
For some reason, the HDMI VSDBs in our kunit EDIDs had a length longer than expected.
While this was harmless, we should get rid of it to make it somewhat predictable.
Signed-off-by Maxime Ripard <[email protected]>---
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Thomas Zimmermann
maintainerRe: [PATCH 2/3] drm/tests: edid: Update CTA-861 HDMI Vendor Specific Data Block
In reply to Maxime RipardHi
Am 25.06.25 um 17:14 schrieb Maxime Ripard:
Quoted 5 lines
For some reason, the HDMI VSDBs in our kunit EDIDs had a length longer than expected.
While this was harmless, we should get rid of it to make it somewhat predictable.
Dump question: should these errors be kept in another test specifically for detecting this problem?
Best regards
Thomas
Quoted 324 lines
Signed-off-by Maxime Ripard <[email protected]>--- drivers/gpu/drm/tests/drm_kunit_edid.h | 85 ++++++++++++++++------------------ 1 file changed, 40 insertions(+), 45 deletions(-)drivers/gpu/drm/tests/drm_kunit_edid.h +40
-45@@ -71,18 +71,18 @@ static const unsigned char test_edid_dvi_1080p[] = {* 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92 * -* 02 03 1b 81 e3 05 00 20 41 10 e2 00 4a 6d 03 0c -* 00 12 34 00 14 20 00 00 00 00 00 00 00 00 00 00 +* 02 03 15 81 e3 05 00 20 41 10 e2 00 4a 67 03 0c +* 00 12 34 00 14 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e4 +* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 * * ---------------- * * Block 0, Base EDID: * EDID Structure Version & Revision: 1.3 @@ -133,12 +133,11 @@ static const unsigned char test_edid_dvi_1080p[] = {* IT scan behavior: Always Underscanned * CE scan behavior: Always Underscanned * Vendor-Specific Data Block (HDMI), OUI 00-0C-03: * Source physical address: 1.2.3.4 * Maximum TMDS clock: 100 MHz -* Extended HDMI video details: -* Checksum: 0xe4 Unused space in Extension Block: 100 bytes +* Checksum: 0x10 Unused space in Extension Block: 106 bytes */ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x02 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,@@ -147,22 +146,22 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {0x2d ,0x40 ,0x58 ,0x2c ,0x45 ,0x00 ,0x40 ,0x84 ,0x63 ,0x00 ,0x00 ,0x1e ,0x00 ,0x00 ,0x00 ,0xfc ,0x00 ,0x54 ,0x65 ,0x73 ,0x74 ,0x20 ,0x45 ,0x44 ,0x49 ,0x44 ,0x0a ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0xfd ,0x00 ,0x32 ,0x46 ,0x1e ,0x46 ,0x0f ,0x00 ,0x0a ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0x10 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 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,0xe4 +0x00 ,0x00 ,0x00 ,0x10 };/* * edid-decode (hex): * @@ -173,18 +172,18 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {* 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92 * -* 02 03 1b 81 e3 05 00 20 41 10 e2 00 4a 6d 03 0c -* 00 12 34 00 28 20 00 00 00 00 00 00 00 00 00 00 +* 02 03 15 81 e3 05 00 20 41 10 e2 00 4a 67 03 0c +* 00 12 34 00 28 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0 +* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc * * ---------------- * * Block 0, Base EDID: * EDID Structure Version & Revision: 1.3 @@ -235,12 +234,11 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {* IT scan behavior: Always Underscanned * CE scan behavior: Always Underscanned * Vendor-Specific Data Block (HDMI), OUI 00-0C-03: * Source physical address: 1.2.3.4 * Maximum TMDS clock: 200 MHz -* Extended HDMI video details: -* Checksum: 0xd0 Unused space in Extension Block: 100 bytes +* Checksum: 0xfc Unused space in Extension Block: 106 bytes */ static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 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x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0xd0 +0x00 ,0x00 ,0x00 ,0xfc };/* * edid-decode (hex): * @@ -275,18 +273,18 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {* 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92 * -* 02 03 1b 81 e3 05 00 20 41 10 e2 00 4a 6d 03 0c -* 00 12 34 00 28 20 00 00 00 00 00 00 00 00 00 00 +* 02 03 15 81 e3 05 00 20 41 10 e2 00 4a 67 03 0c +* 00 12 34 00 44 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0 +* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0 * * ---------------- * * Block 0, Base EDID: * EDID Structure Version & Revision: 1.3 @@ -337,12 +335,11 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {* IT scan behavior: Always Underscanned * CE scan behavior: Always Underscanned * Vendor-Specific Data Block (HDMI), OUI 00-0C-03: * Source physical address: 1.2.3.4 * Maximum TMDS clock: 340 MHz -* Extended HDMI video details: -* Checksum: 0xd0 Unused space in Extension Block: 100 bytes +* Checksum: 0xe0 Unused space in Extension Block: 106 bytes */ static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x02 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,@@ -351,22 +348,22 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {0x2d ,0x40 ,0x58 ,0x2c ,0x45 ,0x00 ,0x40 ,0x84 ,0x63 ,0x00 ,0x00 ,0x1e ,0x00 ,0x00 ,0x00 ,0xfc ,0x00 ,0x54 ,0x65 ,0x73 ,0x74 ,0x20 ,0x45 ,0x44 ,0x49 ,0x44 ,0x0a ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0xfd ,0x00 ,0x32 ,0x46 ,0x1e ,0x46 ,0x0f ,0x00 ,0x0a ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0x10 ,0x00 ,0x00 ,0x00 ,0x00 ,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0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0xd0 +0x00 ,0x00 ,0x00 ,0xe0 };/* * edid-decode (hex): * @@ -377,18 +374,18 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {* 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 7a * -* 02 03 1b b1 e3 05 00 20 41 10 e2 00 ca 6d 03 0c -* 00 12 34 78 28 20 00 00 00 00 00 00 00 00 00 00 +* 02 03 15 b1 e3 05 00 20 41 10 e2 00 ca 67 03 0c +* 00 12 34 78 28 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a8 +* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d4 * * ---------------- * * Block 0, Base EDID: * EDID Structure Version & Revision: 1.3 @@ -445,12 +442,11 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {* DC_48bit * DC_36bit * DC_30bit * DC_Y444 * Maximum TMDS clock: 200 MHz -* Extended HDMI video details: -* Checksum: 0xa8 Unused space in Extension Block: 100 bytes +* Checksum: 0xd4 Unused space in Extension Block: 106 bytes */ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03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,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0xa8 +0x00 ,0x00 ,0x00 ,0xd4 };/* * edid-decode (hex): * @@ -485,18 +481,18 @@ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {* 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 8a * -* 02 03 1b b1 e3 05 00 20 41 10 e2 00 ca 6d 03 0c -* 00 12 34 78 44 20 00 00 00 00 00 00 00 00 00 00 +* 02 03 15 b1 e3 05 00 20 41 10 e2 00 ca 67 03 0c +* 00 12 34 78 44 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8c +* 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b8 * * ---------------- * * Block 0, Base EDID: * EDID Structure Version & Revision: 1.3 @@ -553,12 +549,11 @@ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {* DC_48bit * DC_36bit * DC_30bit * DC_Y444 * Maximum TMDS clock: 340 MHz -* Extended HDMI video details: -* Checksum: 0x8c Unused space in Extension Block: 100 bytes +* Checksum: 0xb8 Unused space in Extension Block: 106 bytes */ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x0a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,@@ -567,20 +562,20 @@ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz[] = {0x2d ,0x40 ,0x58 ,0x2c ,0x45 ,0x00 ,0x40 ,0x84 ,0x63 ,0x00 ,0x00 ,0x1e ,0x00 ,0x00 ,0x00 ,0xfc ,0x00 ,0x54 ,0x65 ,0x73 ,0x74 ,0x20 ,0x45 ,0x44 ,0x49 ,0x44 ,0x0a ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0xfd ,0x00 ,0x32 ,0x46 ,0x1e ,0x46 ,0x0f ,0x00 ,0x0a ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x20 ,0x00 ,0x00 ,0x00 ,0x10 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -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0x00 ,0x8c +0x00 ,0x00 ,0x00 ,0xb8 };#endif // DRM_KUNIT_EDID_H_
Signature · 7 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nuernberg, Germany GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman HRB 36809 (AG Nuernberg)
Maxime Ripard
maintainerRe: [PATCH 2/3] drm/tests: edid: Update CTA-861 HDMI Vendor Specific Data Block
Hi Thomas,
Quoted 11 lines · Thomas Zimmermann
Hi
Am 25.06.25 um 17:14 schrieb Maxime Ripard:
Quoted 5 lines
For some reason, the HDMI VSDBs in our kunit EDIDs had a length longer than expected.
While this was harmless, we should get rid of it to make it somewhat predictable.
Dump question: should these errors be kept in another test specifically for detecting this problem?
I'm not entirely sure what you mean here, sorry. Did you mean that we should get some tests to prevent that kind of EDIDs from being accepted by the kernel?
If so, I guess it would mean getting a test suite for the EDID parser itself, which is definitely something that should happen at some point but seems a little out of scope to me.
Maxime
Thomas Zimmermann
maintainerRe: [PATCH 2/3] drm/tests: edid: Update CTA-861 HDMI Vendor Specific Data Block
Hi
Am 16.07.25 um 17:06 schrieb Maxime Ripard:
Quoted 13 lines
Hi Thomas,
Quoted 10 lines · Thomas Zimmermann
Hi
Am 25.06.25 um 17:14 schrieb Maxime Ripard:
Quoted 5 lines
For some reason, the HDMI VSDBs in our kunit EDIDs had a length longer than expected.
While this was harmless, we should get rid of it to make it somewhat predictable.
Dump question: should these errors be kept in another test specifically for detecting this problem?
Quoted 7 lines
I'm not entirely sure what you mean here, sorry. Did you mean that we should get some tests to prevent that kind of EDIDs from being accepted by the kernel?
If so, I guess it would mean getting a test suite for the EDID parser itself, which is definitely something that should happen at some point but seems a little out of scope to me.
OK. I meant that these are ill-formed EDIDs and the kernel's EDID processing should handle them gracefully. A test could verify this. Not a blocker for this series, of course.
Best regards
Thomas
Quoted 2 lines
Maxime
Signature · 7 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nuernberg, Germany GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman HRB 36809 (AG Nuernberg)
Re: [PATCH 2/3] drm/tests: edid: Update CTA-861 HDMI Vendor Specific Data Block
Quoted 20 lines · Thomas Zimmermann
Hi
Am 16.07.25 um 17:06 schrieb Maxime Ripard:
Quoted 17 lines
Hi Thomas,
Quoted 10 lines · Thomas Zimmermann
Hi
Am 25.06.25 um 17:14 schrieb Maxime Ripard:
Quoted 5 lines
For some reason, the HDMI VSDBs in our kunit EDIDs had a length longer than expected.
While this was harmless, we should get rid of it to make it somewhat predictable.
Dump question: should these errors be kept in another test specifically for detecting this problem?
I'm not entirely sure what you mean here, sorry. Did you mean that we should get some tests to prevent that kind of EDIDs from being accepted by the kernel?
Quoted 7 lines
Quoted 3 lines
If so, I guess it would mean getting a test suite for the EDID parser itself, which is definitely something that should happen at some point but seems a little out of scope to me.
OK. I meant that these are ill-formed EDIDs and the kernel's EDID processing should handle them gracefully. A test could verify this. Not a blocker for this series, of course.
Going through old mails... I'll note that EDIDs in general contain so much garbage that we simply can't reject them if there are issues. They do need to be handled gracefully, of course.
BR,
Jani.
Signature · 1 line
Jani Nikula, Intel
Maxime Ripard
maintainerPATCH 3/3 drm/tests: edid: Add edid-decode --check output
In reply to Maxime RipardSome of our EDIDs are (rightfully) invalid, but most of them should be valid.
Let's add the edid-decode --check of these EDIDs when they were generated, so we know what to expect going forward, and a comment to explicitly mention when we expect them to be broken.
--- drivers/gpu/drm/tests/drm_kunit_edid.h | 51 ++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+)
drivers/gpu/drm/tests/drm_kunit_edid.h +51 -0
@@ -44,10 +44,17 @@* Display Product Name: 'Test EDID' * Display Range Limits: * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz * Dummy Descriptor: * Checksum: 0xab +* +* ---------------- +* +* edid-decode 1.30.0-5367 +* edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22 +* +* EDID conformity: PASS */ static const unsigned char test_edid_dvi_1080p[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x0a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,
@@ -60,10 +67,14 @@ static const unsigned char test_edid_dvi_1080p[] = {0x00 ,0x00 ,0x00 ,0x10 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0xab };/* +* +* This edid is intentionally broken with the 100MHz limit. It's meant +* to be used only with tests in unusual situations. +* * edid-decode (hex): * * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00 * 00 21 01 03 81 a0 5a 78 02 00 00 00 00 00 00 00 * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01
@@ -134,10 +145,22 @@ static const unsigned char test_edid_dvi_1080p[] = {* CE scan behavior: Always Underscanned * Vendor-Specific Data Block (HDMI), OUI 00-0C-03: * Source physical address: 1.2.3.4 * Maximum TMDS clock: 100 MHz * Checksum: 0x10 Unused space in Extension Block: 106 bytes +* +* ---------------- +* +* edid-decode 1.30.0-5367 +* edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22 +* +* Failures: +* +* EDID: +* CTA-861: The maximum HDMI TMDS clock is 100000 kHz, but one or more video timings go up to 148500 kHz. +* +* EDID conformity: FAIL */ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x02 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,
@@ -235,10 +258,17 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {* CE scan behavior: Always Underscanned * Vendor-Specific Data Block (HDMI), OUI 00-0C-03: * Source physical address: 1.2.3.4 * Maximum TMDS clock: 200 MHz * Checksum: 0xfc Unused space in Extension Block: 106 bytes +* +* ---------------- +* +* edid-decode 1.30.0-5367 +* edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22 +* +* EDID conformity: PASS */ static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x02 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,
@@ -336,10 +366,17 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {* CE scan behavior: Always Underscanned * Vendor-Specific Data Block (HDMI), OUI 00-0C-03: * Source physical address: 1.2.3.4 * Maximum TMDS clock: 340 MHz * Checksum: 0xe0 Unused space in Extension Block: 106 bytes +* +* ---------------- +* +* edid-decode 1.30.0-5367 +* edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22 +* +* EDID conformity: PASS */ static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x02 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,
@@ -443,10 +480,17 @@ static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {* DC_36bit * DC_30bit * DC_Y444 * Maximum TMDS clock: 200 MHz * Checksum: 0xd4 Unused space in Extension Block: 106 bytes +* +* ---------------- +* +* edid-decode 1.30.0-5367 +* edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22 +* +* EDID conformity: PASS */ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x1a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,
@@ -550,10 +594,17 @@ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {* DC_36bit * DC_30bit * DC_Y444 * Maximum TMDS clock: 340 MHz * Checksum: 0xb8 Unused space in Extension Block: 106 bytes +* +* ---------------- +* +* edid-decode 1.30.0-5367 +* edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22 +* +* EDID conformity: PASS */ static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz[] = {0x00 ,0xff ,0xff ,0xff ,0xff ,0xff ,0xff ,0x00 ,0x31 ,0xd8 ,0x2a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x21 ,0x01 ,0x03 ,0x81 ,0xa0 ,0x5a ,0x78 ,0x0a ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x20 ,
Signature · 1 line
2.49.0
Re: [PATCH 3/3] drm/tests: edid: Add edid-decode --check output
Quoted 9 lines · Maxime Ripard
Some of our EDIDs are (rightfully) invalid, but most of them should be valid.
Let's add the edid-decode --check of these EDIDs when they were generated, so we know what to expect going forward, and a comment to explicitly mention when we expect them to be broken.
Signed-off-by Maxime Ripard <[email protected]>---
This seems to be much more robust indeed.
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat