aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-11-21 13:08:36 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-11-21 13:08:36 +0100
commitec65eb7a8f93bcf3d263dbda6e429be7222f6b7e (patch)
treed9a86bc9fd60b09c989d46ea2bd0c2b99d4112e9 /test
parent577c297aae40a50ea44070ece6b95e44cda96364 (diff)
edid-decode: fix blockmap-256.test and rename to blockmap-255.test
If Block 128 has a Block Map extension, then the maximum number of blocks in an EDID is 255, not 256. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'test')
-rw-r--r--test/README5
-rw-r--r--test/blockmap-255.test (renamed from test/blockmap-256.test)15
2 files changed, 6 insertions, 14 deletions
diff --git a/test/README b/test/README
index b9f6d39..2f221f5 100644
--- a/test/README
+++ b/test/README
@@ -20,8 +20,9 @@ ls-ext.test: has a Localized String Extension Block.
blockmap-128.test: has a single Block Map extension and a total of
128 blocks.
-blockmap-256.test: has a single Block Map extension and a total of
- 256 blocks (the maximum possible EDID size).
+blockmap-255.test: has two Block Map extensions and a total of
+ 255 blocks (the maximum possible EDID size when the second
+ Block Map is used).
Examples of old EDID versions:
diff --git a/test/blockmap-256.test b/test/blockmap-255.test
index 74c20c6..b42bec1 100644
--- a/test/blockmap-256.test
+++ b/test/blockmap-255.test
@@ -7,7 +7,7 @@ edid-decode (hex):
8a 00 c0 1c 32 00 00 1e 00 00 00 fd 00 18 58 0f
87 3c 04 12 01 e0 f8 38 f0 3c 00 00 00 fc 00 30
31 32 33 34 35 36 37 38 39 30 31 32 00 00 00 f7
-00 0a ff ff ff ff ff f0 00 00 00 00 00 00 ff d7
+00 0a ff ff ff ff ff f0 00 00 00 00 00 00 fe d8
f0 02 70 70 70 70 70 70 70 70 70 70 70 70 70 70
70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70
@@ -27,13 +27,13 @@ c0 1c 32 00 00 1e 1a 36 80 a0 70 38 1f 40 30 20
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b7
-70 20 5f 02 fb 20 00 10 00 00 00 01 00 01 00 00
+70 20 5f 02 fa 20 00 10 00 00 00 01 00 01 00 00
00 00 00 04 54 65 73 74 21 00 1d 80 3e 28 23 00
0f 70 08 00 3c 8a 54 cc 84 99 68 42 0f 00 45 54
00 00 00 00 00 00 00 ff 22 00 14 4f 10 09 80 ff
0e 2f 02 27 81 57 00 6f 08 59 00 47 80 09 00 24
00 06 12 7f 07 36 04 3b 26 00 09 02 02 01 01 00
-e0 07 00 00 3e 00 00 00 00 00 00 00 00 00 00 00
+e0 07 00 00 3f 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90
70 20 04 00 00 23 00 01 02 b6 00 00 00 00 00 00
@@ -2295,15 +2295,6 @@ f0 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90
-70 20 04 00 00 23 00 01 02 b6 00 00 00 00 00 00
-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90
-
----------------
Block 0, Base EDID:

Privacy Policy