From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 22D276EE24 for ; Tue, 4 Feb 2020 09:52:58 +0000 (UTC) From: Swati Sharma Date: Tue, 4 Feb 2020 15:12:14 +0530 Message-Id: <20200204094219.22544-3-swati2.sharma@intel.com> In-Reply-To: <20200204094219.22544-1-swati2.sharma@intel.com> References: <20200204094219.22544-1-swati2.sharma@intel.com> MIME-Version: 1.0 Subject: [igt-dev] [PATCH 2/7] lib/igt_kms: Add max bpc connector property List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org Cc: petri.latvala@intel.com List-ID: From: Nicholas Kazlauskas 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 Cc: Harry Wentland Signed-off-by: Nicholas Kazlauskas Signed-off-by: Swati Sharma Reviewed-by: Petri Latvala Reviewed-by: Uma Shankar --- 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 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev