Return-Path: Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2083.outbound.protection.outlook.com [40.107.100.83]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8859310E299 for ; Mon, 9 Jan 2023 16:25:50 +0000 (UTC) Message-ID: <268247cc-bf9c-f80d-baa7-a83147d8036c@amd.com> Date: Mon, 9 Jan 2023 11:25:44 -0500 Content-Language: en-US To: Swati Sharma , igt-dev@lists.freedesktop.org, Bhanuprakash Modem , uma.shankar@intel.com References: <20221212192425.387971-1-harry.wentland@amd.com> From: Harry Wentland In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Subject: Re: [igt-dev] [PATCH 0/2] Add Colorspace tests to kms_hdr List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sebastian Wick , Pekka Paalanen , Joshua Ashton Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On 12/30/22 15:06, Swati Sharma wrote: > Hi Harry, > > First of all, why do you think kms_hdr is the right place to add colorspace tests? Can we have amd specific IGT for the same. > It seems intel doesn't have any plans in near future to expose this debugfs. > ++Uma ++Bhanu > kms_hdr includes the max_bpc tests added by Intel a while back. Colorspace is similar. Both are mainly required for HDR. This property and the test is generic in principle but I have not had a chance to look more closely at the i915 driver to see how it should report the current colorspace. It should be a straightforward change for an i915 engineer. Harry > On 13-Dec-22 12:54 AM, Harry Wentland wrote: >> We've had a Colorspace property on the drm_connector >> but no IGT tests. These patches add IGT tests for this >> property. They're currently only enabled on amdgpu with >> the kernel at [1] but could be enabled for other drivers >> if those drivers decide to expose a debugfs to read the >> currently applied colorspace. >> >> [1] https://gitlab.freedesktop.org/hwentland/linux/-/tree/hdr-colorimetry>>> >> Cc: Pekka Paalanen >> Cc: Sebastian Wick >> Cc: Vitaly.Prosyak@amd.com >> Cc: Uma Shankar >> Cc: Ville Syrjälä >> Cc: Joshua Ashton >> Cc: Bhanuprakash Modem >> Cc: Rodrigo Siqueira >> Cc: Alex Hung >> >> Harry Wentland (2): >>    tests/kms_hdr: Add test for output Colorspace >>    tests/kms_hdr: Add suspend and DPMS Colorspace tests >> >>   lib/igt_kms.c   |  51 ++++++++++++++++ >>   lib/igt_kms.h   |   6 ++ >>   tests/kms_hdr.c | 156 ++++++++++++++++++++++++++++++++++++++++++++++++ >>   3 files changed, 213 insertions(+) >> >> -- >> 2.38.1 >> >