summaryrefslogtreecommitdiff
path: root/lib/igt_kms.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2020-02-04 15:12:14 +0530
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2020-02-07 10:36:35 +0200
commit712fa52da71a391b7a1f87236ae9b01738ad9586 (patch)
treee89aa4518beebb4be32f0e3f8501de11fb12daf4 /lib/igt_kms.c
parentb5c4a81aafbaadc20584d74de1f19e0990b3d756 (diff)
lib/igt_kms: Add max bpc connector property
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 v3: rebase Cc: Leo Li <sunpeng.li@amd.com> Cc: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com> Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Diffstat (limited to 'lib/igt_kms.c')
-rw-r--r--lib/igt_kms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index f66da635..f706e43a 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -416,6 +416,7 @@ const char * const igt_connector_prop_names[IGT_NUM_CONNECTOR_PROPS] = {
[IGT_CONNECTOR_VRR_CAPABLE] = "vrr_capable",
[IGT_CONNECTOR_HDCP_CONTENT_TYPE] = "HDCP Content Type",
[IGT_CONNECTOR_LINK_STATUS] = "link-status",
+ [IGT_CONNECTOR_MAX_BPC] = "max bpc",
};
/*