xref: /linux/drivers/gpu/drm/tests/drm_kunit_edid.c (revision 2693c9572eaf28ea82b772b84f758e20072539f7)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/module.h>
4 
5 #include "drm_kunit_edid.h"
6 
7 /*
8  * edid-decode (hex):
9  *
10  * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
11  * 00 21 01 03 81 a0 5a 78 0a 00 00 00 00 00 00 00
12  * 00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
13  * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
14  * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
15  * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
16  * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
17  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ab
18  *
19  * ----------------
20  *
21  * Block 0, Base EDID:
22  *   EDID Structure Version & Revision: 1.3
23  *   Vendor & Product Identification:
24  *     Manufacturer: LNX
25  *     Model: 42
26  *     Made in: 2023
27  *   Basic Display Parameters & Features:
28  *     Digital display
29  *     DFP 1.x compatible TMDS
30  *     Maximum image size: 160 cm x 90 cm
31  *     Gamma: 2.20
32  *     RGB color display
33  *     First detailed timing is the preferred timing
34  *   Color Characteristics:
35  *     Red  : 0.0000, 0.0000
36  *     Green: 0.0000, 0.0000
37  *     Blue : 0.0000, 0.0000
38  *     White: 0.0000, 0.0000
39  *   Established Timings I & II: none
40  *   Standard Timings: none
41  *   Detailed Timing Descriptors:
42  *     DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (1600 mm x 900 mm)
43  *                  Hfront   88 Hsync  44 Hback  148 Hpol P
44  *                  Vfront    4 Vsync   5 Vback   36 Vpol P
45  *     Display Product Name: 'Test EDID'
46  *     Display Range Limits:
47  *       Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
48  *     Dummy Descriptor:
49  * Checksum: 0xab
50  *
51  * ----------------
52  *
53  * edid-decode 1.30.0-5367
54  * edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22
55  *
56  * EDID conformity: PASS
57  */
58 const unsigned char test_edid_dvi_1080p[] = {
59 	0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
60 	0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
61 	0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
62 	0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
63 	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
64 	0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
65 	0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
66 	0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
67 	0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
68 	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
69 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab
70 };
71 EXPORT_SYMBOL(test_edid_dvi_1080p);
72 
73 /*
74  *
75  * This edid is intentionally broken with the 100MHz limit. It's meant
76  * to be used only with tests in unusual situations.
77  *
78  * edid-decode (hex):
79  *
80  * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
81  * 00 21 01 03 81 a0 5a 78 02 00 00 00 00 00 00 00
82  * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01
83  * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
84  * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
85  * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
86  * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
87  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92
88  *
89  * 02 03 15 81 e3 05 00 20 41 10 e2 00 4a 67 03 0c
90  * 00 12 34 00 14 00 00 00 00 00 00 00 00 00 00 00
91  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
92  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
93  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
94  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
95  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
96  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
97  *
98  * ----------------
99  *
100  * Block 0, Base EDID:
101  *   EDID Structure Version & Revision: 1.3
102  *   Vendor & Product Identification:
103  *     Manufacturer: LNX
104  *     Model: 42
105  *     Made in: 2023
106  *   Basic Display Parameters & Features:
107  *     Digital display
108  *     DFP 1.x compatible TMDS
109  *     Maximum image size: 160 cm x 90 cm
110  *     Gamma: 2.20
111  *     Monochrome or grayscale display
112  *     First detailed timing is the preferred timing
113  *   Color Characteristics:
114  *     Red  : 0.0000, 0.0000
115  *     Green: 0.0000, 0.0000
116  *     Blue : 0.0000, 0.0000
117  *     White: 0.0000, 0.0000
118  *   Established Timings I & II:
119  *     DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
120  *   Standard Timings: none
121  *   Detailed Timing Descriptors:
122  *     DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (1600 mm x 900 mm)
123  *                  Hfront   88 Hsync  44 Hback  148 Hpol P
124  *                  Vfront    4 Vsync   5 Vback   36 Vpol P
125  *     Display Product Name: 'Test EDID'
126  *     Display Range Limits:
127  *       Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
128  *     Dummy Descriptor:
129  *   Extension blocks: 1
130  * Checksum: 0x92
131  *
132  * ----------------
133  *
134  * Block 1, CTA-861 Extension Block:
135  *   Revision: 3
136  *   Underscans IT Video Formats by default
137  *   Native detailed modes: 1
138  *   Colorimetry Data Block:
139  *     sRGB
140  *   Video Data Block:
141  *     VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
142  *   Video Capability Data Block:
143  *     YCbCr quantization: No Data
144  *     RGB quantization: Selectable (via AVI Q)
145  *     PT scan behavior: No Data
146  *     IT scan behavior: Always Underscanned
147  *     CE scan behavior: Always Underscanned
148  *   Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
149  *     Source physical address: 1.2.3.4
150  *     Maximum TMDS clock: 100 MHz
151  * Checksum: 0x10  Unused space in Extension Block: 106 bytes
152  *
153  * ----------------
154  *
155  * edid-decode 1.30.0-5367
156  * edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22
157  *
158  * Failures:
159  *
160  * EDID:
161  *   CTA-861: The maximum HDMI TMDS clock is 100000 kHz, but one or more video timings go up to 148500 kHz.
162  *
163  * EDID conformity: FAIL
164  */
165 const unsigned char test_edid_hdmi_1080p_rgb_max_100mhz[] = {
166 	0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
167 	0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
168 	0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
169 	0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
170 	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
171 	0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
172 	0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
173 	0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
174 	0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
175 	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
176 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x92, 0x02, 0x03, 0x15, 0x81,
177 	0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0x4a, 0x67, 0x03, 0x0c,
178 	0x00, 0x12, 0x34, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
179 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
180 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
181 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
182 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
183 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
184 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
185 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
186 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
187 	0x00, 0x00, 0x00, 0x10
188 };
189 EXPORT_SYMBOL(test_edid_hdmi_1080p_rgb_max_100mhz);
190 
191 /*
192  * edid-decode (hex):
193  *
194  * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
195  * 00 21 01 03 81 a0 5a 78 02 00 00 00 00 00 00 00
196  * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01
197  * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
198  * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
199  * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
200  * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
201  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92
202  *
203  * 02 03 15 81 e3 05 00 20 41 10 e2 00 4a 67 03 0c
204  * 00 12 34 00 28 00 00 00 00 00 00 00 00 00 00 00
205  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
206  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
207  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
208  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
209  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
210  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc
211  *
212  * ----------------
213  *
214  * Block 0, Base EDID:
215  *   EDID Structure Version & Revision: 1.3
216  *   Vendor & Product Identification:
217  *     Manufacturer: LNX
218  *     Model: 42
219  *     Made in: 2023
220  *   Basic Display Parameters & Features:
221  *     Digital display
222  *     DFP 1.x compatible TMDS
223  *     Maximum image size: 160 cm x 90 cm
224  *     Gamma: 2.20
225  *     Monochrome or grayscale display
226  *     First detailed timing is the preferred timing
227  *   Color Characteristics:
228  *     Red  : 0.0000, 0.0000
229  *     Green: 0.0000, 0.0000
230  *     Blue : 0.0000, 0.0000
231  *     White: 0.0000, 0.0000
232  *   Established Timings I & II:
233  *     DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
234  *   Standard Timings: none
235  *   Detailed Timing Descriptors:
236  *     DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (1600 mm x 900 mm)
237  *                  Hfront   88 Hsync  44 Hback  148 Hpol P
238  *                  Vfront    4 Vsync   5 Vback   36 Vpol P
239  *     Display Product Name: 'Test EDID'
240  *     Display Range Limits:
241  *       Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
242  *     Dummy Descriptor:
243  *   Extension blocks: 1
244  * Checksum: 0x92
245  *
246  * ----------------
247  *
248  * Block 1, CTA-861 Extension Block:
249  *   Revision: 3
250  *   Underscans IT Video Formats by default
251  *   Native detailed modes: 1
252  *   Colorimetry Data Block:
253  *     sRGB
254  *   Video Data Block:
255  *     VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
256  *   Video Capability Data Block:
257  *     YCbCr quantization: No Data
258  *     RGB quantization: Selectable (via AVI Q)
259  *     PT scan behavior: No Data
260  *     IT scan behavior: Always Underscanned
261  *     CE scan behavior: Always Underscanned
262  *   Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
263  *     Source physical address: 1.2.3.4
264  *     Maximum TMDS clock: 200 MHz
265  * Checksum: 0xfc  Unused space in Extension Block: 106 bytes
266  *
267  * ----------------
268  *
269  * edid-decode 1.30.0-5367
270  * edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22
271  *
272  * EDID conformity: PASS
273  */
274 const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {
275 	0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
276 	0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
277 	0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
278 	0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
279 	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
280 	0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
281 	0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
282 	0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
283 	0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
284 	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
285 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x92, 0x02, 0x03, 0x15, 0x81,
286 	0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0x4a, 0x67, 0x03, 0x0c,
287 	0x00, 0x12, 0x34, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
288 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
289 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
290 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
291 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
292 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
293 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
294 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
295 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
296 	0x00, 0x00, 0x00, 0xfc
297 };
298 EXPORT_SYMBOL(test_edid_hdmi_1080p_rgb_max_200mhz);
299 
300 /*
301  * edid-decode (hex):
302  *
303  * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
304  * 00 21 01 03 81 a0 5a 78 02 00 00 00 00 00 00 00
305  * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01
306  * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
307  * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
308  * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
309  * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
310  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92
311  *
312  * 02 03 1c 81 e3 05 c0 20 41 10 e2 00 4a 67 03 0c
313  * 00 12 34 00 28 e6 06 05 01 52 52 51 00 00 00 00
314  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
315  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
316  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
317  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
318  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
319  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e
320  *
321  * ----------------
322  *
323  * Block 0, Base EDID:
324  *   EDID Structure Version & Revision: 1.3
325  *   Vendor & Product Identification:
326  *     Manufacturer: LNX
327  *     Model: 42
328  *     Made in: 2023
329  *   Basic Display Parameters & Features:
330  *     Digital display
331  *     DFP 1.x compatible TMDS
332  *     Maximum image size: 160 cm x 90 cm
333  *     Gamma: 2.20
334  *     Monochrome or grayscale display
335  *     First detailed timing is the preferred timing
336  *   Color Characteristics:
337  *     Red  : 0.0000, 0.0000
338  *     Green: 0.0000, 0.0000
339  *     Blue : 0.0000, 0.0000
340  *     White: 0.0000, 0.0000
341  *   Established Timings I & II:
342  *     DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
343  *   Standard Timings: none
344  *   Detailed Timing Descriptors:
345  *     DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (1600 mm x 900 mm)
346  *                  Hfront   88 Hsync  44 Hback  148 Hpol P
347  *                  Vfront    4 Vsync   5 Vback   36 Vpol P
348  *     Display Product Name: 'Test EDID'
349  *     Display Range Limits:
350  *       Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
351  *     Dummy Descriptor:
352  *   Extension blocks: 1
353  * Checksum: 0x92
354  *
355  * ----------------
356  *
357  * Block 1, CTA-861 Extension Block:
358  *   Revision: 3
359  *   Underscans IT Video Formats by default
360  *   Native detailed modes: 1
361  *   Colorimetry Data Block:
362  *     BT2020YCC
363  *     BT2020RGB
364  *     sRGB
365  *   Video Data Block:
366  *     VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
367  *   Video Capability Data Block:
368  *     YCbCr quantization: No Data
369  *     RGB quantization: Selectable (via AVI Q)
370  *     PT scan behavior: No Data
371  *     IT scan behavior: Always Underscanned
372  *     CE scan behavior: Always Underscanned
373  *   Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
374  *     Source physical address: 1.2.3.4
375  *     Maximum TMDS clock: 200 MHz
376  *   HDR Static Metadata Data Block:
377  *     Electro optical transfer functions:
378  *       Traditional gamma - SDR luminance range
379  *       SMPTE ST2084
380  *     Supported static metadata descriptors:
381  *       Static metadata type 1
382  *     Desired content max luminance: 82 (295.365 cd/m^2)
383  *     Desired content max frame-average luminance: 82 (295.365 cd/m^2)
384  *     Desired content min luminance: 81 (0.298 cd/m^2)
385  * Checksum: 0x4e  Unused space in Extension Block: 99 bytes
386  *
387  * ----------------
388  *
389  * edid-decode 1.31.0-5387
390  * edid-decode SHA: 5508bc4301ac 2025-08-25 08:14:22
391  *
392  * EDID conformity: PASS
393  */
394 const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz_hdr[] = {
395 	0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
396 	0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
397 	0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
398 	0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
399 	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
400 	0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
401 	0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
402 	0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
403 	0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
404 	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
405 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x92, 0x02, 0x03, 0x1c, 0x81,
406 	0xe3, 0x05, 0xc0, 0x20, 0x41, 0x10, 0xe2, 0x00, 0x4a, 0x67, 0x03, 0x0c,
407 	0x00, 0x12, 0x34, 0x78, 0x28, 0xe6, 0x06, 0x05, 0x01, 0x52, 0x52, 0x51,
408 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
409 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
410 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
411 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
412 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
413 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
414 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
415 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
416 	0x00, 0x00, 0x00, 0xd6,
417 };
418 EXPORT_SYMBOL(test_edid_hdmi_1080p_rgb_max_200mhz_hdr);
419 
420 /*
421  * edid-decode (hex):
422  *
423  * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
424  * 00 21 01 03 81 a0 5a 78 02 00 00 00 00 00 00 00
425  * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01
426  * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
427  * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
428  * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
429  * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
430  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92
431  *
432  * 02 03 15 81 e3 05 00 20 41 10 e2 00 4a 67 03 0c
433  * 00 12 34 00 44 00 00 00 00 00 00 00 00 00 00 00
434  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
435  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
436  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
437  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
438  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
439  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0
440  *
441  * ----------------
442  *
443  * Block 0, Base EDID:
444  *   EDID Structure Version & Revision: 1.3
445  *   Vendor & Product Identification:
446  *     Manufacturer: LNX
447  *     Model: 42
448  *     Made in: 2023
449  *   Basic Display Parameters & Features:
450  *     Digital display
451  *     DFP 1.x compatible TMDS
452  *     Maximum image size: 160 cm x 90 cm
453  *     Gamma: 2.20
454  *     Monochrome or grayscale display
455  *     First detailed timing is the preferred timing
456  *   Color Characteristics:
457  *     Red  : 0.0000, 0.0000
458  *     Green: 0.0000, 0.0000
459  *     Blue : 0.0000, 0.0000
460  *     White: 0.0000, 0.0000
461  *   Established Timings I & II:
462  *     DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
463  *   Standard Timings: none
464  *   Detailed Timing Descriptors:
465  *     DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (1600 mm x 900 mm)
466  *                  Hfront   88 Hsync  44 Hback  148 Hpol P
467  *                  Vfront    4 Vsync   5 Vback   36 Vpol P
468  *     Display Product Name: 'Test EDID'
469  *     Display Range Limits:
470  *       Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
471  *     Dummy Descriptor:
472  *   Extension blocks: 1
473  * Checksum: 0x92
474  *
475  * ----------------
476  *
477  * Block 1, CTA-861 Extension Block:
478  *   Revision: 3
479  *   Underscans IT Video Formats by default
480  *   Native detailed modes: 1
481  *   Colorimetry Data Block:
482  *     sRGB
483  *   Video Data Block:
484  *     VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
485  *   Video Capability Data Block:
486  *     YCbCr quantization: No Data
487  *     RGB quantization: Selectable (via AVI Q)
488  *     PT scan behavior: No Data
489  *     IT scan behavior: Always Underscanned
490  *     CE scan behavior: Always Underscanned
491  *   Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
492  *     Source physical address: 1.2.3.4
493  *     Maximum TMDS clock: 340 MHz
494  * Checksum: 0xe0  Unused space in Extension Block: 106 bytes
495  *
496  * ----------------
497  *
498  * edid-decode 1.30.0-5367
499  * edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22
500  *
501  * EDID conformity: PASS
502  */
503 const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {
504 	0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
505 	0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
506 	0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
507 	0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
508 	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
509 	0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
510 	0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
511 	0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
512 	0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
513 	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
514 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x92, 0x02, 0x03, 0x15, 0x81,
515 	0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0x4a, 0x67, 0x03, 0x0c,
516 	0x00, 0x12, 0x34, 0x00, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
517 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
518 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
519 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
520 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
521 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
522 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
523 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
524 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
525 	0x00, 0x00, 0x00, 0xe0
526 };
527 EXPORT_SYMBOL(test_edid_hdmi_1080p_rgb_max_340mhz);
528 
529 /*
530  * edid-decode (hex):
531  *
532  * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
533  * 00 21 01 03 81 a0 5a 78 1a 00 00 00 00 00 00 00
534  * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01
535  * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
536  * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
537  * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
538  * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
539  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 7a
540  *
541  * 02 03 15 b1 e3 05 00 20 41 10 e2 00 ca 67 03 0c
542  * 00 12 34 78 28 00 00 00 00 00 00 00 00 00 00 00
543  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
544  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
545  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
546  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
547  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
548  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d4
549  *
550  * ----------------
551  *
552  * Block 0, Base EDID:
553  *   EDID Structure Version & Revision: 1.3
554  *   Vendor & Product Identification:
555  *     Manufacturer: LNX
556  *     Model: 42
557  *     Made in: 2023
558  *   Basic Display Parameters & Features:
559  *     Digital display
560  *     DFP 1.x compatible TMDS
561  *     Maximum image size: 160 cm x 90 cm
562  *     Gamma: 2.20
563  *     Undefined display color type
564  *     First detailed timing is the preferred timing
565  *   Color Characteristics:
566  *     Red  : 0.0000, 0.0000
567  *     Green: 0.0000, 0.0000
568  *     Blue : 0.0000, 0.0000
569  *     White: 0.0000, 0.0000
570  *   Established Timings I & II:
571  *     DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
572  *   Standard Timings: none
573  *   Detailed Timing Descriptors:
574  *     DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (1600 mm x 900 mm)
575  *                  Hfront   88 Hsync  44 Hback  148 Hpol P
576  *                  Vfront    4 Vsync   5 Vback   36 Vpol P
577  *     Display Product Name: 'Test EDID'
578  *     Display Range Limits:
579  *       Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
580  *     Dummy Descriptor:
581  *   Extension blocks: 1
582  * Checksum: 0x7a
583  *
584  * ----------------
585  *
586  * Block 1, CTA-861 Extension Block:
587  *   Revision: 3
588  *   Underscans IT Video Formats by default
589  *   Supports YCbCr 4:4:4
590  *   Supports YCbCr 4:2:2
591  *   Native detailed modes: 1
592  *   Colorimetry Data Block:
593  *     sRGB
594  *   Video Data Block:
595  *     VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
596  *   Video Capability Data Block:
597  *     YCbCr quantization: Selectable (via AVI YQ)
598  *     RGB quantization: Selectable (via AVI Q)
599  *     PT scan behavior: No Data
600  *     IT scan behavior: Always Underscanned
601  *     CE scan behavior: Always Underscanned
602  *   Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
603  *     Source physical address: 1.2.3.4
604  *     DC_48bit
605  *     DC_36bit
606  *     DC_30bit
607  *     DC_Y444
608  *     Maximum TMDS clock: 200 MHz
609  * Checksum: 0xd4  Unused space in Extension Block: 106 bytes
610  *
611  * ----------------
612  *
613  * edid-decode 1.30.0-5367
614  * edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22
615  *
616  * EDID conformity: PASS
617  */
618 const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {
619 	0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
620 	0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
621 	0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
622 	0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
623 	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
624 	0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
625 	0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
626 	0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
627 	0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
628 	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
629 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x7a, 0x02, 0x03, 0x15, 0xb1,
630 	0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0xca, 0x67, 0x03, 0x0c,
631 	0x00, 0x12, 0x34, 0x78, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
632 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
633 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
634 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
635 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
636 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
637 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
638 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
639 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
640 	0x00, 0x00, 0x00, 0xd4
641 };
642 EXPORT_SYMBOL(test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz);
643 
644 /*
645  * edid-decode (hex):
646  *
647  * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
648  * 00 21 01 03 81 a0 5a 78 0a 00 00 00 00 00 00 00
649  * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01
650  * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
651  * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
652  * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
653  * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
654  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 8a
655  *
656  * 02 03 15 b1 e3 05 00 20 41 10 e2 00 ca 67 03 0c
657  * 00 12 34 78 44 00 00 00 00 00 00 00 00 00 00 00
658  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
659  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
660  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
661  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
662  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
663  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b8
664  *
665  * ----------------
666  *
667  * Block 0, Base EDID:
668  *   EDID Structure Version & Revision: 1.3
669  *   Vendor & Product Identification:
670  *     Manufacturer: LNX
671  *     Model: 42
672  *     Made in: 2023
673  *   Basic Display Parameters & Features:
674  *     Digital display
675  *     DFP 1.x compatible TMDS
676  *     Maximum image size: 160 cm x 90 cm
677  *     Gamma: 2.20
678  *     RGB color display
679  *     First detailed timing is the preferred timing
680  *   Color Characteristics:
681  *     Red  : 0.0000, 0.0000
682  *     Green: 0.0000, 0.0000
683  *     Blue : 0.0000, 0.0000
684  *     White: 0.0000, 0.0000
685  *   Established Timings I & II:
686  *     DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
687  *   Standard Timings: none
688  *   Detailed Timing Descriptors:
689  *     DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (1600 mm x 900 mm)
690  *                  Hfront   88 Hsync  44 Hback  148 Hpol P
691  *                  Vfront    4 Vsync   5 Vback   36 Vpol P
692  *     Display Product Name: 'Test EDID'
693  *     Display Range Limits:
694  *       Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
695  *     Dummy Descriptor:
696  *   Extension blocks: 1
697  * Checksum: 0x8a
698  *
699  * ----------------
700  *
701  * Block 1, CTA-861 Extension Block:
702  *   Revision: 3
703  *   Underscans IT Video Formats by default
704  *   Supports YCbCr 4:4:4
705  *   Supports YCbCr 4:2:2
706  *   Native detailed modes: 1
707  *   Colorimetry Data Block:
708  *     sRGB
709  *   Video Data Block:
710  *     VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
711  *   Video Capability Data Block:
712  *     YCbCr quantization: Selectable (via AVI YQ)
713  *     RGB quantization: Selectable (via AVI Q)
714  *     PT scan behavior: No Data
715  *     IT scan behavior: Always Underscanned
716  *     CE scan behavior: Always Underscanned
717  *   Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
718  *     Source physical address: 1.2.3.4
719  *     DC_48bit
720  *     DC_36bit
721  *     DC_30bit
722  *     DC_Y444
723  *     Maximum TMDS clock: 340 MHz
724  * Checksum: 0xb8  Unused space in Extension Block: 106 bytes
725  *
726  * ----------------
727  *
728  * edid-decode 1.30.0-5367
729  * edid-decode SHA: 41ebf7135691 2025-05-01 10:19:22
730  *
731  * EDID conformity: PASS
732  */
733 const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz[] = {
734 	0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
735 	0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
736 	0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
737 	0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
738 	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
739 	0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
740 	0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
741 	0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
742 	0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
743 	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
744 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x8a, 0x02, 0x03, 0x15, 0xb1,
745 	0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0xca, 0x67, 0x03, 0x0c,
746 	0x00, 0x12, 0x34, 0x78, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
747 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
748 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
749 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
750 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
751 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
752 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
753 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
754 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
755 	0x00, 0x00, 0x00, 0xb8
756 };
757 EXPORT_SYMBOL(test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz);
758 
759 /*
760  * Max resolution:
761  * - 1920x1080@60Hz with RGB, YUV444, YUV422
762  * - 3840x2160@30Hz with YUV420 only
763  * Max BPC:         16 for all modes
764  * Max TMDS clock:  200 MHz
765  *
766  * edid-decode (hex):
767  *
768  * 00 ff ff ff ff ff ff 00 31 d8 34 00 00 00 00 00
769  * ff 23 01 03 80 60 36 78 0f ee 91 a3 54 4c 99 26
770  * 0f 50 54 20 00 00 01 01 01 01 01 01 01 01 01 01
771  * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
772  * 45 00 c0 1c 32 00 00 1e 00 00 00 fc 00 54 65 73
773  * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 18
774  * 55 18 5e 11 00 0a 20 20 20 20 20 20 00 00 00 10
775  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 bb
776  *
777  * 02 03 29 31 42 90 5f 6c 03 0c 00 10 00 78 28 20
778  * 00 00 01 03 6d d8 5d c4 01 28 80 07 00 00 00 00
779  * 00 00 e3 0f 00 00 e2 0e 5f 00 00 00 00 00 00 00
780  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
781  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
782  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
783  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
784  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ca
785  *
786  * ----------------
787  *
788  * Block 0, Base EDID:
789  *   EDID Structure Version & Revision: 1.3
790  *   Vendor & Product Identification:
791  *     Manufacturer: LNX
792  *     Model: 52
793  *     Model year: 2025
794  *   Basic Display Parameters & Features:
795  *     Digital display
796  *     Maximum image size: 96 cm x 54 cm
797  *     Gamma: 2.20
798  *     RGB color display
799  *     Default (sRGB) color space is primary color space
800  *     First detailed timing is the preferred timing
801  *     Supports GTF timings within operating range
802  *   Color Characteristics:
803  *     Red  : 0.6396, 0.3300
804  *     Green: 0.2998, 0.5996
805  *     Blue : 0.1503, 0.0595
806  *     White: 0.3125, 0.3291
807  *   Established Timings I & II:
808  *     DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
809  *   Standard Timings: none
810  *   Detailed Timing Descriptors:
811  *     DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (960 mm x 540 mm)
812  *                  Hfront   88 Hsync  44 Hback  148 Hpol P
813  *                  Vfront    4 Vsync   5 Vback   36 Vpol P
814  *     Display Product Name: 'Test EDID'
815  *     Display Range Limits:
816  *       Monitor ranges (GTF): 24-85 Hz V, 24-94 kHz H, max dotclock 170 MHz
817  *     Dummy Descriptor:
818  *   Extension blocks: 1
819  * Checksum: 0xbb
820  *
821  * ----------------
822  *
823  * Block 1, CTA-861 Extension Block:
824  *   Revision: 3
825  *   Supports YCbCr 4:4:4
826  *   Supports YCbCr 4:2:2
827  *   Native detailed modes: 1
828  *   Video Data Block:
829  *     VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (native)
830  *     VIC  95:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz
831  *   Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
832  *     Source physical address: 1.0.0.0
833  *     DC_48bit
834  *     DC_36bit
835  *     DC_30bit
836  *     DC_Y444
837  *     Maximum TMDS clock: 200 MHz
838  *     Extended HDMI video details:
839  *   Vendor-Specific Data Block (HDMI Forum), OUI C4-5D-D8:
840  *     Version: 1
841  *     Maximum TMDS Character Rate: 200 MHz
842  *     SCDC Present
843  *     Supports 16-bits/component Deep Color 4:2:0 Pixel Encoding
844  *     Supports 12-bits/component Deep Color 4:2:0 Pixel Encoding
845  *     Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding
846  *   YCbCr 4:2:0 Capability Map Data Block:
847  *     Empty Capability Map
848  *   YCbCr 4:2:0 Video Data Block:
849  *     VIC  95:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz
850  * Checksum: 0xca
851  */
852 const unsigned char test_edid_hdmi_1080p_rgb_yuv_4k_yuv420_dc_max_200mhz[] = {
853 	0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x34, 0x00,
854 	0x00, 0x00, 0x00, 0x00, 0xff, 0x23, 0x01, 0x03, 0x80, 0x60, 0x36, 0x78,
855 	0x0f, 0xee, 0x91, 0xa3, 0x54, 0x4c, 0x99, 0x26, 0x0f, 0x50, 0x54, 0x20,
856 	0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
857 	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
858 	0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0xc0, 0x1c, 0x32, 0x00, 0x00, 0x1e,
859 	0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
860 	0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x18,
861 	0x55, 0x18, 0x5e, 0x11, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
862 	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
863 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xbb, 0x02, 0x03, 0x29, 0x31,
864 	0x42, 0x90, 0x5f, 0x6c, 0x03, 0x0c, 0x00, 0x10, 0x00, 0x78, 0x28, 0x20,
865 	0x00, 0x00, 0x01, 0x03, 0x6d, 0xd8, 0x5d, 0xc4, 0x01, 0x28, 0x80, 0x07,
866 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe3, 0x0f, 0x00, 0x00, 0xe2, 0x0e,
867 	0x5f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
868 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
869 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
870 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
871 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
872 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
873 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
874 	0x00, 0x00, 0x00, 0xca
875 };
876 EXPORT_SYMBOL(test_edid_hdmi_1080p_rgb_yuv_4k_yuv420_dc_max_200mhz);
877 
878 /*
879  * Max resolution: 3840x2160@30Hz with RGB, YUV444, YUV422, YUV420
880  * Max BPC:        16 for all modes
881  * Max TMDS clock: 340 MHz
882  *
883  * edid-decode (hex):
884  *
885  * 00 ff ff ff ff ff ff 00 31 d8 34 00 00 00 00 00
886  * ff 23 01 03 80 60 36 78 0f ee 91 a3 54 4c 99 26
887  * 0f 50 54 20 00 00 01 01 01 01 01 01 01 01 01 01
888  * 01 01 01 01 01 01 04 74 00 30 f2 70 5a 80 b0 58
889  * 8a 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
890  * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 18
891  * 55 18 5e 22 00 0a 20 20 20 20 20 20 00 00 00 10
892  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 ce
893  *
894  * 02 03 27 31 41 5f 6c 03 0c 00 10 00 78 44 20 00
895  * 00 01 03 6d d8 5d c4 01 44 80 07 00 00 00 00 00
896  * 00 e3 0f 01 00 e1 0e 00 00 00 00 00 00 00 00 00
897  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
898  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
899  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
900  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
901  * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 84
902  *
903  * ----------------
904  *
905  * Block 0, Base EDID:
906  *   EDID Structure Version & Revision: 1.3
907  *   Vendor & Product Identification:
908  *     Manufacturer: LNX
909  *     Model: 52
910  *     Model year: 2025
911  *   Basic Display Parameters & Features:
912  *     Digital display
913  *     Maximum image size: 96 cm x 54 cm
914  *     Gamma: 2.20
915  *     RGB color display
916  *     Default (sRGB) color space is primary color space
917  *     First detailed timing is the preferred timing
918  *     Supports GTF timings within operating range
919  *   Color Characteristics:
920  *     Red  : 0.6396, 0.3300
921  *     Green: 0.2998, 0.5996
922  *     Blue : 0.1503, 0.0595
923  *     White: 0.3125, 0.3291
924  *   Established Timings I & II:
925  *     DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
926  *   Standard Timings: none
927  *   Detailed Timing Descriptors:
928  *     DTD 1:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz (1600 mm x 900 mm)
929  *                  Hfront  176 Hsync  88 Hback  296 Hpol P
930  *                  Vfront    8 Vsync  10 Vback   72 Vpol P
931  *     Display Product Name: 'Test EDID'
932  *     Display Range Limits:
933  *       Monitor ranges (GTF): 24-85 Hz V, 24-94 kHz H, max dotclock 340 MHz
934  *     Dummy Descriptor:
935  *   Extension blocks: 1
936  * Checksum: 0xce
937  *
938  * ----------------
939  *
940  * Block 1, CTA-861 Extension Block:
941  *   Revision: 3
942  *   Supports YCbCr 4:4:4
943  *   Supports YCbCr 4:2:2
944  *   Native detailed modes: 1
945  *   Video Data Block:
946  *     VIC  95:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz
947  *   Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
948  *     Source physical address: 1.0.0.0
949  *     DC_48bit
950  *     DC_36bit
951  *     DC_30bit
952  *     DC_Y444
953  *     Maximum TMDS clock: 340 MHz
954  *     Extended HDMI video details:
955  *   Vendor-Specific Data Block (HDMI Forum), OUI C4-5D-D8:
956  *     Version: 1
957  *     Maximum TMDS Character Rate: 340 MHz
958  *     SCDC Present
959  *     Supports 16-bits/component Deep Color 4:2:0 Pixel Encoding
960  *     Supports 12-bits/component Deep Color 4:2:0 Pixel Encoding
961  *     Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding
962  *   YCbCr 4:2:0 Capability Map Data Block:
963  *     VIC  95:  3840x2160   30.000000 Hz  16:9     67.500 kHz    297.000000 MHz
964  *   YCbCr 4:2:0 Video Data Block:
965  * Checksum: 0x84
966  */
967 const unsigned char test_edid_hdmi_4k_rgb_yuv420_dc_max_340mhz[] = {
968 	0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x34, 0x00,
969 	0x00, 0x00, 0x00, 0x00, 0xff, 0x23, 0x01, 0x03, 0x80, 0x60, 0x36, 0x78,
970 	0x0f, 0xee, 0x91, 0xa3, 0x54, 0x4c, 0x99, 0x26, 0x0f, 0x50, 0x54, 0x20,
971 	0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
972 	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x04, 0x74, 0x00, 0x30, 0xf2, 0x70,
973 	0x5a, 0x80, 0xb0, 0x58, 0x8a, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
974 	0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
975 	0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x18,
976 	0x55, 0x18, 0x5e, 0x22, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
977 	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
978 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xce, 0x02, 0x03, 0x27, 0x31,
979 	0x41, 0x5f, 0x6c, 0x03, 0x0c, 0x00, 0x10, 0x00, 0x78, 0x44, 0x20, 0x00,
980 	0x00, 0x01, 0x03, 0x6d, 0xd8, 0x5d, 0xc4, 0x01, 0x44, 0x80, 0x07, 0x00,
981 	0x00, 0x00, 0x00, 0x00, 0x00, 0xe3, 0x0f, 0x01, 0x00, 0xe1, 0x0e, 0x00,
982 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
983 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
984 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
985 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
986 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
987 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
988 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
989 	0x00, 0x00, 0x00, 0x84
990 };
991 EXPORT_SYMBOL(test_edid_hdmi_4k_rgb_yuv420_dc_max_340mhz);
992 
993 MODULE_AUTHOR("Maxime Ripard <mripard@kernel.org>");
994 MODULE_DESCRIPTION("EDID Definitions for KUnit tests");
995 MODULE_LICENSE("GPL");
996