[edid-decode] Decode HDMI 1.4 4k VICs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>
---
 edid-decode.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/edid-decode.c b/edid-decode.c
index 9840db6..f74bbe4 100644
--- a/edid-decode.c
+++ b/edid-decode.c
@@ -625,7 +625,7 @@ cea_hdmi_block(unsigned char *x)
 	
 	if (x[8] & 0x20) {
 	    int mask = 0, formats = 0;
-	    int len_xx, len_3d;
+	    int len_vic, len_3d;
 	    printf("    Extended HDMI video details:\n");
 	    if (x[9 + b] & 0x80)
 		printf("      3D present\n");
@@ -650,14 +650,17 @@ cea_hdmi_block(unsigned char *x)
 		printf("      Base EDID image size is in units of 5cm\n");
 		break;
 	    }
-	    len_xx = (x[10 + b] & 0xe0) >> 5;
+	    len_vic = (x[10 + b] & 0xe0) >> 5;
 	    len_3d = (x[10 + b] & 0x1f) >> 0;
 	    b += 2;
 
-	    if (len_xx) {
-		printf("      Skipping %d bytes that HDMI refuses to publicly"
-		       " document\n", len_xx);
-		b += len_xx;
+	    if (len_vic) {
+		int i;
+
+		for (i = 0; i < len_vic; i++)
+		    printf("      HDMI VIC %d\n", x[9 + b + i]);
+
+		b += len_vic;
 	    }
 
 	    if (len_3d) {
-- 
1.8.3.1

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux