[PATCH 08/27] edid-decode: fix "Supports CVT standard blanking"

Hans Verkuil hverkuil at xs4all.nl
Thu Aug 31 11:41:01 UTC 2017


From: Hans Verkuil <hans.verkuil at cisco.com>

The wrong bit was tested.

Signed-off-by: Hans Verkuil <hans.verkuil at cisco.com>
---
 edid-decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/edid-decode.c b/edid-decode.c
index 4105700f..5a162b14 100644
--- a/edid-decode.c
+++ b/edid-decode.c
@@ -460,7 +460,7 @@ detailed_block(unsigned char *x, int in_extension)
 		}
 		printf("\n");
 
-		if (x[15] & 0x04)
+		if (x[15] & 0x08)
 		    printf("Supports CVT standard blanking\n");
 		if (x[15] & 0x10)
 		    printf("Supports CVT reduced blanking\n");
-- 
2.14.1



More information about the xorg-devel mailing list