485 lines · c
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 0010 * 00 21 01 03 81 a0 5a 78 0a 00 00 00 00 00 00 0011 * 00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 0112 * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c13 * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 7314 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 3215 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 1016 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ab17 *18 * ----------------19 *20 * Block 0, Base EDID:21 * EDID Structure Version & Revision: 1.322 * Vendor & Product Identification:23 * Manufacturer: LNX24 * Model: 4225 * Made in: 202326 * Basic Display Parameters & Features:27 * Digital display28 * DFP 1.x compatible TMDS29 * Maximum image size: 160 cm x 90 cm30 * Gamma: 2.2031 * RGB color display32 * First detailed timing is the preferred timing33 * Color Characteristics:34 * Red : 0.0000, 0.000035 * Green: 0.0000, 0.000036 * Blue : 0.0000, 0.000037 * White: 0.0000, 0.000038 * Established Timings I & II: none39 * Standard Timings: none40 * 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 P43 * Vfront 4 Vsync 5 Vback 36 Vpol P44 * Display Product Name: 'Test EDID'45 * Display Range Limits:46 * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz47 * Dummy Descriptor:48 * Checksum: 0xab49 */50static 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, 0xab62};63 64/*65 * edid-decode (hex):66 *67 * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 0068 * 00 21 01 03 81 a0 5a 78 02 00 00 00 00 00 00 0069 * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 0170 * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c71 * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 7372 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 3273 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 1074 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 9275 *76 * 02 03 1b 81 e3 05 00 20 41 10 e2 00 4a 6d 03 0c77 * 00 12 34 00 28 20 00 00 00 00 00 00 00 00 00 0078 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0079 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0080 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0081 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0082 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0083 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d084 *85 * ----------------86 *87 * Block 0, Base EDID:88 * EDID Structure Version & Revision: 1.389 * Vendor & Product Identification:90 * Manufacturer: LNX91 * Model: 4292 * Made in: 202393 * Basic Display Parameters & Features:94 * Digital display95 * DFP 1.x compatible TMDS96 * Maximum image size: 160 cm x 90 cm97 * Gamma: 2.2098 * Monochrome or grayscale display99 * First detailed timing is the preferred timing100 * Color Characteristics:101 * Red : 0.0000, 0.0000102 * Green: 0.0000, 0.0000103 * Blue : 0.0000, 0.0000104 * White: 0.0000, 0.0000105 * Established Timings I & II:106 * DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz107 * Standard Timings: none108 * 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 P111 * Vfront 4 Vsync 5 Vback 36 Vpol P112 * Display Product Name: 'Test EDID'113 * Display Range Limits:114 * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz115 * Dummy Descriptor:116 * Extension blocks: 1117 * Checksum: 0x92118 *119 * ----------------120 *121 * Block 1, CTA-861 Extension Block:122 * Revision: 3123 * Underscans IT Video Formats by default124 * Native detailed modes: 1125 * Colorimetry Data Block:126 * sRGB127 * Video Data Block:128 * VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz129 * Video Capability Data Block:130 * YCbCr quantization: No Data131 * RGB quantization: Selectable (via AVI Q)132 * PT scan behavior: No Data133 * IT scan behavior: Always Underscanned134 * CE scan behavior: Always Underscanned135 * Vendor-Specific Data Block (HDMI), OUI 00-0C-03:136 * Source physical address: 1.2.3.4137 * Maximum TMDS clock: 200 MHz138 * Extended HDMI video details:139 * Checksum: 0xd0 Unused space in Extension Block: 100 bytes140 */141static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {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, 0x28, 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, 0xd0164};165 166/*167 * edid-decode (hex):168 *169 * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00170 * 00 21 01 03 81 a0 5a 78 02 00 00 00 00 00 00 00171 * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01172 * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c173 * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73174 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32175 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10176 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92177 *178 * 02 03 1b 81 e3 05 00 20 41 10 e2 00 4a 6d 03 0c179 * 00 12 34 00 28 20 00 00 00 00 00 00 00 00 00 00180 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00181 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00182 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00183 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00184 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00185 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0186 *187 * ----------------188 *189 * Block 0, Base EDID:190 * EDID Structure Version & Revision: 1.3191 * Vendor & Product Identification:192 * Manufacturer: LNX193 * Model: 42194 * Made in: 2023195 * Basic Display Parameters & Features:196 * Digital display197 * DFP 1.x compatible TMDS198 * Maximum image size: 160 cm x 90 cm199 * Gamma: 2.20200 * Monochrome or grayscale display201 * First detailed timing is the preferred timing202 * Color Characteristics:203 * Red : 0.0000, 0.0000204 * Green: 0.0000, 0.0000205 * Blue : 0.0000, 0.0000206 * White: 0.0000, 0.0000207 * Established Timings I & II:208 * DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz209 * Standard Timings: none210 * 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 P213 * Vfront 4 Vsync 5 Vback 36 Vpol P214 * Display Product Name: 'Test EDID'215 * Display Range Limits:216 * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz217 * Dummy Descriptor:218 * Extension blocks: 1219 * Checksum: 0x92220 *221 * ----------------222 *223 * Block 1, CTA-861 Extension Block:224 * Revision: 3225 * Underscans IT Video Formats by default226 * Native detailed modes: 1227 * Colorimetry Data Block:228 * sRGB229 * Video Data Block:230 * VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz231 * Video Capability Data Block:232 * YCbCr quantization: No Data233 * RGB quantization: Selectable (via AVI Q)234 * PT scan behavior: No Data235 * IT scan behavior: Always Underscanned236 * CE scan behavior: Always Underscanned237 * Vendor-Specific Data Block (HDMI), OUI 00-0C-03:238 * Source physical address: 1.2.3.4239 * Maximum TMDS clock: 340 MHz240 * Extended HDMI video details:241 * Checksum: 0xd0 Unused space in Extension Block: 100 bytes242 */243static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {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, 0x44, 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, 0xd0266};267 268/*269 * edid-decode (hex):270 *271 * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00272 * 00 21 01 03 81 a0 5a 78 1a 00 00 00 00 00 00 00273 * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01274 * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c275 * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73276 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32277 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10278 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 7a279 *280 * 02 03 1b b1 e3 05 00 20 41 10 e2 00 ca 6d 03 0c281 * 00 12 34 78 28 20 00 00 00 00 00 00 00 00 00 00282 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00283 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00284 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00285 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00286 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00287 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a8288 *289 * ----------------290 *291 * Block 0, Base EDID:292 * EDID Structure Version & Revision: 1.3293 * Vendor & Product Identification:294 * Manufacturer: LNX295 * Model: 42296 * Made in: 2023297 * Basic Display Parameters & Features:298 * Digital display299 * DFP 1.x compatible TMDS300 * Maximum image size: 160 cm x 90 cm301 * Gamma: 2.20302 * Undefined display color type303 * First detailed timing is the preferred timing304 * Color Characteristics:305 * Red : 0.0000, 0.0000306 * Green: 0.0000, 0.0000307 * Blue : 0.0000, 0.0000308 * White: 0.0000, 0.0000309 * Established Timings I & II:310 * DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz311 * Standard Timings: none312 * 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 P315 * Vfront 4 Vsync 5 Vback 36 Vpol P316 * Display Product Name: 'Test EDID'317 * Display Range Limits:318 * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz319 * Dummy Descriptor:320 * Extension blocks: 1321 * Checksum: 0x7a322 *323 * ----------------324 *325 * Block 1, CTA-861 Extension Block:326 * Revision: 3327 * Underscans IT Video Formats by default328 * Supports YCbCr 4:4:4329 * Supports YCbCr 4:2:2330 * Native detailed modes: 1331 * Colorimetry Data Block:332 * sRGB333 * Video Data Block:334 * VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz335 * Video Capability Data Block:336 * YCbCr quantization: Selectable (via AVI YQ)337 * RGB quantization: Selectable (via AVI Q)338 * PT scan behavior: No Data339 * IT scan behavior: Always Underscanned340 * CE scan behavior: Always Underscanned341 * Vendor-Specific Data Block (HDMI), OUI 00-0C-03:342 * Source physical address: 1.2.3.4343 * DC_48bit344 * DC_36bit345 * DC_30bit346 * DC_Y444347 * Maximum TMDS clock: 200 MHz348 * Extended HDMI video details:349 * Checksum: 0xa8 Unused space in Extension Block: 100 bytes350 */351static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {352 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,353 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,354 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,355 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,356 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,357 0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,358 0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,359 0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,360 0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,361 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,362 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x7a, 0x02, 0x03, 0x1b, 0xb1,363 0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0xca, 0x6d, 0x03, 0x0c,364 0x00, 0x12, 0x34, 0x78, 0x28, 0x20, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,368 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,369 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,370 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,371 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,372 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,373 0x00, 0x00, 0x00, 0xa8374};375 376/*377 * edid-decode (hex):378 *379 * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00380 * 00 21 01 03 81 a0 5a 78 0a 00 00 00 00 00 00 00381 * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01382 * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c383 * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73384 * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32385 * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10386 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 8a387 *388 * 02 03 1b b1 e3 05 00 20 41 10 e2 00 ca 6d 03 0c389 * 00 12 34 78 44 20 00 00 00 00 00 00 00 00 00 00390 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00391 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00392 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00393 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00394 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00395 * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8c396 *397 * ----------------398 *399 * Block 0, Base EDID:400 * EDID Structure Version & Revision: 1.3401 * Vendor & Product Identification:402 * Manufacturer: LNX403 * Model: 42404 * Made in: 2023405 * Basic Display Parameters & Features:406 * Digital display407 * DFP 1.x compatible TMDS408 * Maximum image size: 160 cm x 90 cm409 * Gamma: 2.20410 * RGB color display411 * First detailed timing is the preferred timing412 * Color Characteristics:413 * Red : 0.0000, 0.0000414 * Green: 0.0000, 0.0000415 * Blue : 0.0000, 0.0000416 * White: 0.0000, 0.0000417 * Established Timings I & II:418 * DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz419 * Standard Timings: none420 * Detailed Timing Descriptors:421 * DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (1600 mm x 900 mm)422 * Hfront 88 Hsync 44 Hback 148 Hpol P423 * Vfront 4 Vsync 5 Vback 36 Vpol P424 * Display Product Name: 'Test EDID'425 * Display Range Limits:426 * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz427 * Dummy Descriptor:428 * Extension blocks: 1429 * Checksum: 0x8a430 *431 * ----------------432 *433 * Block 1, CTA-861 Extension Block:434 * Revision: 3435 * Underscans IT Video Formats by default436 * Supports YCbCr 4:4:4437 * Supports YCbCr 4:2:2438 * Native detailed modes: 1439 * Colorimetry Data Block:440 * sRGB441 * Video Data Block:442 * VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz443 * Video Capability Data Block:444 * YCbCr quantization: Selectable (via AVI YQ)445 * RGB quantization: Selectable (via AVI Q)446 * PT scan behavior: No Data447 * IT scan behavior: Always Underscanned448 * CE scan behavior: Always Underscanned449 * Vendor-Specific Data Block (HDMI), OUI 00-0C-03:450 * Source physical address: 1.2.3.4451 * DC_48bit452 * DC_36bit453 * DC_30bit454 * DC_Y444455 * Maximum TMDS clock: 340 MHz456 * Extended HDMI video details:457 * Checksum: 0x8c Unused space in Extension Block: 100 bytes458 */459static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz[] = {460 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,461 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,462 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,463 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,464 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,465 0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,466 0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,467 0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,468 0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,469 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,470 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x8a, 0x02, 0x03, 0x1b, 0xb1,471 0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0xca, 0x6d, 0x03, 0x0c,472 0x00, 0x12, 0x34, 0x78, 0x44, 0x20, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,476 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,477 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,478 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,479 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,480 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,481 0x00, 0x00, 0x00, 0x8c482};483 484#endif // DRM_KUNIT_EDID_H_485