summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2017-09-09 12:08:24 +0200
committerAdam Jackson <ajax@redhat.com>2017-09-18 10:16:48 -0400
commit292a98304bc80b979c2c470e2e3fa03b545c8b68 (patch)
tree6bc221bc649d00119b9e23795d611d906a9173c1
parent011a22eb80f62ff2e2d7dfbf296bb02deb8e5174 (diff)
edid-decode: add DCI-P3 support in colorimetry block
This bit was added in CTA-861-G. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
-rw-r--r--edid-decode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/edid-decode.c b/edid-decode.c
index 074cb82..2727fd1 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");
}
}