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