[igt-dev] [PATCH i-g-t 2/7] lib/igt_kms: Add max bpc connector property

Shankar, Uma uma.shankar at intel.com
Tue Jan 14 14:30:16 UTC 2020



>-----Original Message-----
>From: Sharma, Swati2 <swati2.sharma at intel.com>
>Sent: Tuesday, December 31, 2019 6:52 PM
>To: igt-dev at lists.freedesktop.org
>Cc: ville.syrjala at linux.intel.com; Shankar, Uma <uma.shankar at intel.com>; Hiler,
>Arkadiusz <arkadiusz.hiler at intel.com>; Nicholas Kazlauskas
><nicholas.kazlauskas at amd.com>; Leo Li <sunpeng.li at amd.com>; Harry Wentland
><harry.wentland at amd.com>; Sharma, Swati2 <swati2.sharma at intel.com>
>Subject: [igt-dev][PATCH i-g-t 2/7] lib/igt_kms: Add max bpc connector property
>
>From: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>
>
>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

Looks good to me.
Reviewed-by: Uma Shankar <uma.shankar at intel.com>

>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>
>Signed-off-by: Swati Sharma <swati2.sharma 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 d20daaad..b0b064c9 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",
> };
>
> /*
>diff --git a/lib/igt_kms.h b/lib/igt_kms.h index 6c919e92..36077d41 100644
>--- a/lib/igt_kms.h
>+++ b/lib/igt_kms.h
>@@ -125,6 +125,7 @@ enum igt_atomic_connector_properties {
>        IGT_CONNECTOR_VRR_CAPABLE,
>        IGT_CONNECTOR_HDCP_CONTENT_TYPE,
>        IGT_CONNECTOR_LINK_STATUS,
>+       IGT_CONNECTOR_MAX_BPC,
>        IGT_NUM_CONNECTOR_PROPS
> };
>
>--
>2.24.1



More information about the igt-dev mailing list