drm_kunit_edid.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef DRM_KUNIT_EDID_H_
  3. #define DRM_KUNIT_EDID_H_
  4. /*
  5. * edid-decode (hex):
  6. *
  7. * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
  8. * 00 21 01 03 81 a0 5a 78 0a 00 00 00 00 00 00 00
  9. * 00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
  10. * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
  11. * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
  12. * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
  13. * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
  14. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ab
  15. *
  16. * ----------------
  17. *
  18. * Block 0, Base EDID:
  19. * EDID Structure Version & Revision: 1.3
  20. * Vendor & Product Identification:
  21. * Manufacturer: LNX
  22. * Model: 42
  23. * Made in: 2023
  24. * Basic Display Parameters & Features:
  25. * Digital display
  26. * DFP 1.x compatible TMDS
  27. * Maximum image size: 160 cm x 90 cm
  28. * Gamma: 2.20
  29. * RGB color display
  30. * First detailed timing is the preferred timing
  31. * Color Characteristics:
  32. * Red : 0.0000, 0.0000
  33. * Green: 0.0000, 0.0000
  34. * Blue : 0.0000, 0.0000
  35. * White: 0.0000, 0.0000
  36. * Established Timings I & II: none
  37. * Standard Timings: none
  38. * Detailed Timing Descriptors:
  39. * DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (1600 mm x 900 mm)
  40. * Hfront 88 Hsync 44 Hback 148 Hpol P
  41. * Vfront 4 Vsync 5 Vback 36 Vpol P
  42. * Display Product Name: 'Test EDID'
  43. * Display Range Limits:
  44. * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
  45. * Dummy Descriptor:
  46. * Checksum: 0xab
  47. */
  48. static const unsigned char test_edid_dvi_1080p[] = {
  49. 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
  50. 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
  51. 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  52. 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
  53. 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
  54. 0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
  55. 0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
  56. 0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
  57. 0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
  58. 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  59. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xab
  60. };
  61. /*
  62. * edid-decode (hex):
  63. *
  64. * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
  65. * 00 21 01 03 81 a0 5a 78 02 00 00 00 00 00 00 00
  66. * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01
  67. * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
  68. * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
  69. * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
  70. * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
  71. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92
  72. *
  73. * 02 03 1b 81 e3 05 00 20 41 10 e2 00 4a 6d 03 0c
  74. * 00 12 34 00 28 20 00 00 00 00 00 00 00 00 00 00
  75. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  76. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  77. * 00 00 00 00 00 00 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 d0
  81. *
  82. * ----------------
  83. *
  84. * Block 0, Base EDID:
  85. * EDID Structure Version & Revision: 1.3
  86. * Vendor & Product Identification:
  87. * Manufacturer: LNX
  88. * Model: 42
  89. * Made in: 2023
  90. * Basic Display Parameters & Features:
  91. * Digital display
  92. * DFP 1.x compatible TMDS
  93. * Maximum image size: 160 cm x 90 cm
  94. * Gamma: 2.20
  95. * Monochrome or grayscale display
  96. * First detailed timing is the preferred timing
  97. * Color Characteristics:
  98. * Red : 0.0000, 0.0000
  99. * Green: 0.0000, 0.0000
  100. * Blue : 0.0000, 0.0000
  101. * White: 0.0000, 0.0000
  102. * Established Timings I & II:
  103. * DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
  104. * Standard Timings: none
  105. * Detailed Timing Descriptors:
  106. * DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (1600 mm x 900 mm)
  107. * Hfront 88 Hsync 44 Hback 148 Hpol P
  108. * Vfront 4 Vsync 5 Vback 36 Vpol P
  109. * Display Product Name: 'Test EDID'
  110. * Display Range Limits:
  111. * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
  112. * Dummy Descriptor:
  113. * Extension blocks: 1
  114. * Checksum: 0x92
  115. *
  116. * ----------------
  117. *
  118. * Block 1, CTA-861 Extension Block:
  119. * Revision: 3
  120. * Underscans IT Video Formats by default
  121. * Native detailed modes: 1
  122. * Colorimetry Data Block:
  123. * sRGB
  124. * Video Data Block:
  125. * VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
  126. * Video Capability Data Block:
  127. * YCbCr quantization: No Data
  128. * RGB quantization: Selectable (via AVI Q)
  129. * PT scan behavior: No Data
  130. * IT scan behavior: Always Underscanned
  131. * CE scan behavior: Always Underscanned
  132. * Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
  133. * Source physical address: 1.2.3.4
  134. * Maximum TMDS clock: 200 MHz
  135. * Extended HDMI video details:
  136. * Checksum: 0xd0 Unused space in Extension Block: 100 bytes
  137. */
  138. static const unsigned char test_edid_hdmi_1080p_rgb_max_200mhz[] = {
  139. 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
  140. 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
  141. 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
  142. 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
  143. 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
  144. 0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
  145. 0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
  146. 0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
  147. 0x46, 0x00, 0x00, 0xc4, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
  148. 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  149. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x41, 0x02, 0x03, 0x1b, 0x81,
  150. 0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0x4a, 0x6d, 0x03, 0x0c,
  151. 0x00, 0x12, 0x34, 0x00, 0x28, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  152. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  153. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  154. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0xd0
  161. };
  162. /*
  163. * edid-decode (hex):
  164. *
  165. * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
  166. * 00 21 01 03 81 a0 5a 78 02 00 00 00 00 00 00 00
  167. * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01
  168. * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
  169. * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
  170. * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
  171. * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
  172. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 92
  173. *
  174. * 02 03 1b 81 e3 05 00 20 41 10 e2 00 4a 6d 03 0c
  175. * 00 12 34 00 28 20 00 00 00 00 00 00 00 00 00 00
  176. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  177. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  178. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  179. * 00 00 00 00 00 00 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 d0
  182. *
  183. * ----------------
  184. *
  185. * Block 0, Base EDID:
  186. * EDID Structure Version & Revision: 1.3
  187. * Vendor & Product Identification:
  188. * Manufacturer: LNX
  189. * Model: 42
  190. * Made in: 2023
  191. * Basic Display Parameters & Features:
  192. * Digital display
  193. * DFP 1.x compatible TMDS
  194. * Maximum image size: 160 cm x 90 cm
  195. * Gamma: 2.20
  196. * Monochrome or grayscale display
  197. * First detailed timing is the preferred timing
  198. * Color Characteristics:
  199. * Red : 0.0000, 0.0000
  200. * Green: 0.0000, 0.0000
  201. * Blue : 0.0000, 0.0000
  202. * White: 0.0000, 0.0000
  203. * Established Timings I & II:
  204. * DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
  205. * Standard Timings: none
  206. * Detailed Timing Descriptors:
  207. * DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (1600 mm x 900 mm)
  208. * Hfront 88 Hsync 44 Hback 148 Hpol P
  209. * Vfront 4 Vsync 5 Vback 36 Vpol P
  210. * Display Product Name: 'Test EDID'
  211. * Display Range Limits:
  212. * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
  213. * Dummy Descriptor:
  214. * Extension blocks: 1
  215. * Checksum: 0x92
  216. *
  217. * ----------------
  218. *
  219. * Block 1, CTA-861 Extension Block:
  220. * Revision: 3
  221. * Underscans IT Video Formats by default
  222. * Native detailed modes: 1
  223. * Colorimetry Data Block:
  224. * sRGB
  225. * Video Data Block:
  226. * VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
  227. * Video Capability Data Block:
  228. * YCbCr quantization: No Data
  229. * RGB quantization: Selectable (via AVI Q)
  230. * PT scan behavior: No Data
  231. * IT scan behavior: Always Underscanned
  232. * CE scan behavior: Always Underscanned
  233. * Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
  234. * Source physical address: 1.2.3.4
  235. * Maximum TMDS clock: 340 MHz
  236. * Extended HDMI video details:
  237. * Checksum: 0xd0 Unused space in Extension Block: 100 bytes
  238. */
  239. static const unsigned char test_edid_hdmi_1080p_rgb_max_340mhz[] = {
  240. 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
  241. 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
  242. 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
  243. 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
  244. 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
  245. 0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
  246. 0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
  247. 0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
  248. 0x46, 0x00, 0x00, 0xc4, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
  249. 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  250. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x41, 0x02, 0x03, 0x1b, 0x81,
  251. 0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0x4a, 0x6d, 0x03, 0x0c,
  252. 0x00, 0x12, 0x34, 0x00, 0x44, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  253. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  254. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  255. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  256. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0xd0
  262. };
  263. /*
  264. * edid-decode (hex):
  265. *
  266. * 00 ff ff ff ff ff ff 00 31 d8 2a 00 00 00 00 00
  267. * 00 21 01 03 81 a0 5a 78 1a 00 00 00 00 00 00 00
  268. * 00 00 00 20 00 00 01 01 01 01 01 01 01 01 01 01
  269. * 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
  270. * 45 00 40 84 63 00 00 1e 00 00 00 fc 00 54 65 73
  271. * 74 20 45 44 49 44 0a 20 20 20 00 00 00 fd 00 32
  272. * 46 1e 46 0f 00 0a 20 20 20 20 20 20 00 00 00 10
  273. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 7a
  274. *
  275. * 02 03 1b b1 e3 05 00 20 41 10 e2 00 ca 6d 03 0c
  276. * 00 12 34 78 28 20 00 00 00 00 00 00 00 00 00 00
  277. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  278. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  279. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  280. * 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  281. * 00 00 00 00 00 00 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 a8
  283. *
  284. * ----------------
  285. *
  286. * Block 0, Base EDID:
  287. * EDID Structure Version & Revision: 1.3
  288. * Vendor & Product Identification:
  289. * Manufacturer: LNX
  290. * Model: 42
  291. * Made in: 2023
  292. * Basic Display Parameters & Features:
  293. * Digital display
  294. * DFP 1.x compatible TMDS
  295. * Maximum image size: 160 cm x 90 cm
  296. * Gamma: 2.20
  297. * Undefined display color type
  298. * First detailed timing is the preferred timing
  299. * Color Characteristics:
  300. * Red : 0.0000, 0.0000
  301. * Green: 0.0000, 0.0000
  302. * Blue : 0.0000, 0.0000
  303. * White: 0.0000, 0.0000
  304. * Established Timings I & II:
  305. * DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
  306. * Standard Timings: none
  307. * Detailed Timing Descriptors:
  308. * DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (1600 mm x 900 mm)
  309. * Hfront 88 Hsync 44 Hback 148 Hpol P
  310. * Vfront 4 Vsync 5 Vback 36 Vpol P
  311. * Display Product Name: 'Test EDID'
  312. * Display Range Limits:
  313. * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz
  314. * Dummy Descriptor:
  315. * Extension blocks: 1
  316. * Checksum: 0x7a
  317. *
  318. * ----------------
  319. *
  320. * Block 1, CTA-861 Extension Block:
  321. * Revision: 3
  322. * Underscans IT Video Formats by default
  323. * Supports YCbCr 4:4:4
  324. * Supports YCbCr 4:2:2
  325. * Native detailed modes: 1
  326. * Colorimetry Data Block:
  327. * sRGB
  328. * Video Data Block:
  329. * VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
  330. * Video Capability Data Block:
  331. * YCbCr quantization: Selectable (via AVI YQ)
  332. * RGB quantization: Selectable (via AVI Q)
  333. * PT scan behavior: No Data
  334. * IT scan behavior: Always Underscanned
  335. * CE scan behavior: Always Underscanned
  336. * Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
  337. * Source physical address: 1.2.3.4
  338. * DC_48bit
  339. * DC_36bit
  340. * DC_30bit
  341. * DC_Y444
  342. * Maximum TMDS clock: 200 MHz
  343. * Extended HDMI video details:
  344. * Checksum: 0xa8 Unused space in Extension Block: 100 bytes
  345. */
  346. static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_200mhz[] = {
  347. 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x31, 0xd8, 0x2a, 0x00,
  348. 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x01, 0x03, 0x81, 0xa0, 0x5a, 0x78,
  349. 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
  350. 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
  351. 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3a, 0x80, 0x18, 0x71, 0x38,
  352. 0x2d, 0x40, 0x58, 0x2c, 0x45, 0x00, 0x40, 0x84, 0x63, 0x00, 0x00, 0x1e,
  353. 0x00, 0x00, 0x00, 0xfc, 0x00, 0x54, 0x65, 0x73, 0x74, 0x20, 0x45, 0x44,
  354. 0x49, 0x44, 0x0a, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x32,
  355. 0x46, 0x1e, 0x46, 0x0f, 0x00, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
  356. 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  357. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x7a, 0x02, 0x03, 0x1b, 0xb1,
  358. 0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0xca, 0x6d, 0x03, 0x0c,
  359. 0x00, 0x12, 0x34, 0x78, 0x28, 0x20, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  368. 0x00, 0x00, 0x00, 0xa8
  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 0a 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 8a
  381. *
  382. * 02 03 1b b1 e3 05 00 20 41 10 e2 00 ca 6d 03 0c
  383. * 00 12 34 78 44 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 8c
  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. * RGB color display
  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: 0x8a
  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: 340 MHz
  450. * Extended HDMI video details:
  451. * Checksum: 0x8c Unused space in Extension Block: 100 bytes
  452. */
  453. static const unsigned char test_edid_hdmi_1080p_rgb_yuv_dc_max_340mhz[] = {
  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. 0x0a, 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, 0x8a, 0x02, 0x03, 0x1b, 0xb1,
  465. 0xe3, 0x05, 0x00, 0x20, 0x41, 0x10, 0xe2, 0x00, 0xca, 0x6d, 0x03, 0x0c,
  466. 0x00, 0x12, 0x34, 0x78, 0x44, 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, 0x8c
  476. };
  477. #endif // DRM_KUNIT_EDID_H_