From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 03117C43458 for ; Thu, 2 Jul 2026 08:12:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B1FA910F206; Thu, 2 Jul 2026 08:12:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="SOVJYRVJ"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id D596C10F1FE for ; Thu, 2 Jul 2026 08:12:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1782979942; x=1814515942; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9hMinEFHx0CwX1Gk4NKV0DisjNLWcoB8X6zENa0h+t0=; b=SOVJYRVJXYtkIDDa5+1J2HKzLQqIGhVbGIUsuXiBIVzG+FIVRZ9FspEw VkPvbL/BSEEI2zinCH4QnIFohHDe9MVMoO+YbcmClWH8Qn4OG6HGv8H8U xfaO6kZR4+fk29V0qCw0e4sCBsR7T1+jyOot/VgHuO4n0y+CeBoNBPUws 0M1f+1KLlwdIRJCV1Jzct2A0XaNYO920QLHBRRes15WkIjkYon6K6RbcA 3XbK1ENneEXIWny5aMAFG4t1h7c708jPdPqdYJHqzYrguvMWyF9/UWVAt BHlsIJmMtBWkBv3HvNg2WY8ftTx4ycJL+YaVMdYlz6cHqXueIX7ZETM/y Q==; X-CSE-ConnectionGUID: n4T6DysfQwC5WBjop7sX4A== X-CSE-MsgGUID: kLvnPwHwS2msfPTHSq7ujg== X-IronPort-AV: E=McAfee;i="6800,10657,11834"; a="83504785" X-IronPort-AV: E=Sophos;i="6.25,143,1779174000"; d="scan'208";a="83504785" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2026 01:12:21 -0700 X-CSE-ConnectionGUID: NL35BpXxTJ+uK9Ox8wCi8w== X-CSE-MsgGUID: w3teu3QzRaiC5q+ZVL7iOA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,143,1779174000"; d="scan'208";a="257132327" Received: from pranay-x299-aorus-gaming-3-pro.iind.intel.com ([10.223.74.54]) by orviesa005.jf.intel.com with ESMTP; 02 Jul 2026 01:12:19 -0700 From: Pranay Samala To: igt-dev@lists.freedesktop.org Cc: karthik.b.s@intel.com, swati2.sharma@intel.com, sameer.lattannavar@intel.com, pranay.samala@intel.com Subject: [PATCH i-g-t v7 0/2] Enable multi-format testing for pipe color tests Date: Thu, 2 Jul 2026 13:53:21 +0530 Message-Id: <20260702082323.3398022-1-pranay.samala@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" This series adds multi-format coverage to kms_color pipe color tests. To ensure deterministic behavior across YUV formats, the first patch updates framebuffer creation to explicitly specify YCbCr encoding/range instead of relying on implicit defaults. The second patch extends gamma, degamma, and CTM tests to run across multiple pixel formats at the dynamic subtest level. This adds coverage for format-dependent color pipeline behavior while avoiding redundant testing on platforms where only a single format is applicable. v2: - Add DRM_FORMAT_P010 format v3: - Update commit message (Swati) v4: - Split the patches (Swati) v5: - Consolidate format structure with bpc info (Swati) - Move format support check out of dynamic subtest scope (Swati) - Add a common FB helper to centralize framebuffer creation (Swati) - Keep RGB formats on the existing igt_create_fb() path (Swati) - Use explicit range/encoding only for YUV formats (Swati) v6: - Add FP16 format to the format list - Combine declaration and assignment for mtk_10bpc_only (Swati) - Use per-format depth in gamma/degamma tests for 10-bit accuracy (Swati) - Rename fb creation helper name (Swati) - Make YCbCr encoding and range explicit helper parameters (Swati) v7: - Rebase Pranay Samala (2): tests/kms_color: Prepare FB creation for explicit YUV color range handling tests/kms_color: Add multi-format coverage for pipe color tests tests/kms_color.c | 274 +++++++++++++++++++++++++++------------------- 1 file changed, 161 insertions(+), 113 deletions(-) -- 2.34.1