[PATCHv3 06/12] edid-decode: add DCI-P3 support in colorimetry block

Hans Verkuil hverkuil at xs4all.nl
Sat Sep 9 10:08:24 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 074cb821..2727fd18 100644
--- a/edid-decode.c
+++ b/edid-decode.c
@@ -1852,6 +1852,8 @@ cea_colorimetry_block(unsigned char *x)
 	    if (x[2] & (1 << 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