[PATCH 5/8] edid-decode: add DCI-P3 support in colorimetry block

Hans Verkuil hverkuil at xs4all.nl
Thu Sep 7 18:03:28 UTC 2017


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

This bit was added in CTA-861-G.

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

diff --git a/edid-decode.c b/edid-decode.c
index caf35907..d0da48e2 100644
--- a/edid-decode.c
+++ b/edid-decode.c
@@ -1818,6 +1818,8 @@ cea_colorimetry_block(unsigned char *x)
 	    if (x[2] >> i)
 		printf("    %s\n", colorimetry_map[i]);
 	}
+	if (x[3] & 0x80)
+		printf("    DCI-P3\n");
     }
 }
 
-- 
2.14.1



More information about the xorg-devel mailing list