From: Pranay Samala <pranay.samala@intel.com>
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 [thread overview]
Message-ID: <20260205044128.1052937-2-pranay.samala@intel.com> (raw)
In-Reply-To: <20260205044128.1052937-1-pranay.samala@intel.com>
Avoid running source clamping tests on cursor plane,
which do not support clamping.
Signed-off-by: Pranay Samala <pranay.samala@intel.com>
---
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
next prev parent reply other threads:[~2026-02-05 4:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-05 4:41 [PATCH i-g-t v2 0/2] tests/kms_plane: Refine clamping and modifier skips Pranay Samala
2026-02-05 4:41 ` Pranay Samala [this message]
2026-02-05 4:41 ` [PATCH i-g-t v2 2/2] tests/kms_plane: Skip unsupported modifiers Pranay Samala
2026-02-05 7:53 ` ✓ Xe.CI.BAT: success for tests/kms_plane: Refine clamping and modifier skips (rev2) Patchwork
2026-02-05 7:57 ` ✓ i915.CI.BAT: " Patchwork
2026-02-05 22:32 ` ✗ i915.CI.Full: failure " Patchwork
2026-02-06 2:15 ` ✗ Xe.CI.FULL: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260205044128.1052937-2-pranay.samala@intel.com \
--to=pranay.samala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@intel.com \
--cc=ramanaidu.naladala@intel.com \
--cc=sameer.lattannavar@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox