[igt-dev] [PATCH i-g-t 2/3] lib/igt_kms: add support for link-status

Simon Ser simon.ser at intel.com
Tue Aug 13 14:17:47 UTC 2019


This patch simply adds link-status to our list of properties.

Signed-off-by: Simon Ser <simon.ser at intel.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 b0169f73b752..eb9cdd953c98 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -414,6 +414,7 @@ const char * const igt_connector_prop_names[IGT_NUM_CONNECTOR_PROPS] = {
 	[IGT_CONNECTOR_CONTENT_PROTECTION] = "Content Protection",
 	[IGT_CONNECTOR_VRR_CAPABLE] = "vrr_capable",
 	[IGT_CONNECTOR_HDCP_CONTENT_TYPE] = "HDCP Content Type",
+	[IGT_CONNECTOR_LINK_STATUS] = "link-status",
 };
 
 /*
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index c0dcb6f2a9ff..e48891e1aedc 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -124,6 +124,7 @@ enum igt_atomic_connector_properties {
        IGT_CONNECTOR_CONTENT_PROTECTION,
        IGT_CONNECTOR_VRR_CAPABLE,
        IGT_CONNECTOR_HDCP_CONTENT_TYPE,
+       IGT_CONNECTOR_LINK_STATUS,
        IGT_NUM_CONNECTOR_PROPS
 };
 
-- 
2.22.0



More information about the igt-dev mailing list