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 0E5E2EA7966 for ; Thu, 5 Feb 2026 04:30:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B1D0B10E7AD; Thu, 5 Feb 2026 04:30:57 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="fBi40mVo"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4D53410E7AD for ; Thu, 5 Feb 2026 04:30:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1770265856; x=1801801856; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=eWpa7Cio8DQimSYQLRlkw3hZPYHN0vByTRz3nJ++3pM=; b=fBi40mVoqiZOb3ndn1/ZdHzPIZ70+LDqE/BJQwJ4KEFMkMFpjBVxVfnL L6QwfAb5LlJ/a3kJiWhljM4PezXV+LLEfjWj5W18Jnceu7PoUzsl+cA7v zd1bvO65zObJHT/SLkUn3vO34idODcrVs1IJr3ckY+z3VT5in5E6iNVXR czr2S6RdUvWx9wMytbLpbQrozVKYbVhMsbEGizmN+eXq3/MWOr//FP29Y 5E1UcUTM1mVM/iNB503lt4R5i6YrYXROLlNBYfARI320rukgyX9JShlxT aJBGJjJV+nbXKoI2wAeG6+QpyyHusKA6Pz2Ds1acKRBMbPdbpJxsie5uO A==; X-CSE-ConnectionGUID: y4HSfo8aRdesAT0z5Kadrg== X-CSE-MsgGUID: tRRVlgg/Tbqut6OMW7y5Cw== X-IronPort-AV: E=McAfee;i="6800,10657,11691"; a="75312475" X-IronPort-AV: E=Sophos;i="6.21,273,1763452800"; d="scan'208";a="75312475" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2026 20:30:56 -0800 X-CSE-ConnectionGUID: 4J6sypLYSleRAVqU/I7FKg== X-CSE-MsgGUID: hevGRPIUQYi4FAyT7C7K7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,273,1763452800"; d="scan'208";a="214897801" Received: from pranay-x299-aorus-gaming-3-pro.iind.intel.com ([10.223.74.54]) by orviesa004.jf.intel.com with ESMTP; 04 Feb 2026 20:30:54 -0800 From: Pranay Samala To: igt-dev@lists.freedesktop.org Cc: karthik.b.s@intel.com, ramanaidu.naladala@intel.com, sameer.lattannavar@intel.com, pranay.samala@intel.com Subject: [PATCH i-g-t v2 1/2] tests/kms_plane: Skip cursor plane for source clamping Date: Thu, 5 Feb 2026 10:11:27 +0530 Message-Id: <20260205044128.1052937-2-pranay.samala@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260205044128.1052937-1-pranay.samala@intel.com> References: <20260205044128.1052937-1-pranay.samala@intel.com> 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" Avoid running source clamping tests on cursor plane, which do not support clamping. Signed-off-by: Pranay Samala --- tests/kms_plane.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/kms_plane.c b/tests/kms_plane.c index 2be10f032..a7b1bf25d 100644 --- a/tests/kms_plane.c +++ b/tests/kms_plane.c @@ -1090,12 +1090,6 @@ static void test_format_plane(data_t *data, enum pipe pipe, bool result = true; bool found = false; - /* - * No clamping test for cursor plane - */ - if (data->crop != 0 && plane->type == DRM_PLANE_TYPE_CURSOR) - igt_skip("Clamping is invalid for the cursor plane.\n"); - for (int i = 0; i < plane->format_mod_count; i++) { if (data->mod == plane->modifiers[i]) { found = true; @@ -1288,6 +1282,9 @@ test_pixel_formats(data_t *data, enum pipe pipe) for_each_plane_on_pipe(&data->display, pipe, plane) { if (skip_plane(data, plane)) continue; + if (data->crop != 0 && plane->type == DRM_PLANE_TYPE_CURSOR) + continue; + igt_dynamic_f("pipe-%s-plane-%u", kmstest_pipe_name(pipe), plane->index) test_format_plane(data, pipe, output, plane, &primary_fb); } -- 2.34.1