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