From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2074.outbound.protection.outlook.com [40.107.92.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0F07B10E283 for ; Mon, 12 Dec 2022 19:24:31 +0000 (UTC) From: Harry Wentland To: Date: Mon, 12 Dec 2022 14:24:23 -0500 Message-ID: <20221212192425.387971-1-harry.wentland@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: [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: 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