[igt-dev] [PATCH i-g-t v2 2/4] lib/igt_kms: Add max bpc connector property
Nicholas Kazlauskas
nicholas.kazlauskas at amd.com
Thu Jul 25 16:55:27 UTC 2019
It's been in DRM for a while but was never added to IGT's internal list.
This property should be reset along with other properties between tests
since output color depth can affect CRC calculation... but it's not
really feasible since it's driver specific for what the value should
be reset to.
v2: rebase
Cc: Leo Li <sunpeng.li at amd.com>
Cc: Harry Wentland <harry.wentland at amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>
---
lib/igt_kms.c | 1 +
lib/igt_kms.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 175e71c3..7949f774 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -413,6 +413,7 @@ const char * const igt_connector_prop_names[IGT_NUM_CONNECTOR_PROPS] = {
[IGT_CONNECTOR_BROADCAST_RGB] = "Broadcast RGB",
[IGT_CONNECTOR_CONTENT_PROTECTION] = "Content Protection",
[IGT_CONNECTOR_VRR_CAPABLE] = "vrr_capable",
+ [IGT_CONNECTOR_MAX_BPC] = "max bpc",
};
/*
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 0486737b..cfb810d3 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -123,6 +123,7 @@ enum igt_atomic_connector_properties {
IGT_CONNECTOR_BROADCAST_RGB,
IGT_CONNECTOR_CONTENT_PROTECTION,
IGT_CONNECTOR_VRR_CAPABLE,
+ IGT_CONNECTOR_MAX_BPC,
IGT_NUM_CONNECTOR_PROPS
};
--
2.17.1
More information about the igt-dev
mailing list