From: Pranay Samala <pranay.samala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, sameer.lattannavar@intel.com,
pranay.samala@intel.com
Subject: [PATCH i-g-t] tests/intel/kms_big_fb: Skip 90/270 rotation on Display Ver >= 13
Date: Fri, 27 Feb 2026 12:03:33 +0530 [thread overview]
Message-ID: <20260227063333.2044616-1-pranay.samala@intel.com> (raw)
From Display Ver 13, 90/270 hardware rotation no longer
supported. Skip these tests on affected platforms. Also move
plane capability checks to the outer loop to continue testing
other planes.
Signed-off-by: Pranay Samala <pranay.samala@intel.com>
---
tests/intel/kms_big_fb.c | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/tests/intel/kms_big_fb.c b/tests/intel/kms_big_fb.c
index 66d7c5428..171b38602 100644
--- a/tests/intel/kms_big_fb.c
+++ b/tests/intel/kms_big_fb.c
@@ -172,6 +172,7 @@ typedef struct {
int hw_stride;
int max_hw_fb_width;
double planeclearrgb[3];
+ int disp_ver;
} data_t;
static struct intel_buf *init_buf(data_t *data,
@@ -422,12 +423,6 @@ static bool test_plane(data_t *data)
{ w, h, },
};
- if (!igt_plane_has_format_mod(plane, data->format, data->modifier))
- return false;
-
- if (!igt_plane_has_rotation(plane, data->rotation))
- return false;
-
if (igt_plane_has_prop(plane, IGT_PLANE_ROTATION))
igt_plane_set_rotation(plane, data->rotation);
igt_plane_set_position(plane, 0, 0);
@@ -570,6 +565,10 @@ static bool test_pipe(data_t *data)
IGT_PIPE_CRC_SOURCE_AUTO);
for_each_plane_on_pipe(&data->display, data->crtc->pipe, data->plane) {
+ if (!igt_plane_has_rotation(data->plane, data->rotation))
+ continue;
+ if (!igt_plane_has_format_mod(data->plane, data->format, data->modifier))
+ continue;
ret = test_plane(data);
if (ret || run_in_simulation)
break;
@@ -688,6 +687,9 @@ static void test_scanout(data_t *data)
igt_crtc_t *crtc;
igt_output_t *output;
+ if (igt_rotation_90_or_270(data->rotation))
+ igt_require_f(data->disp_ver < 13, "90/270 rotation not supported by platform\n");
+
igt_require(data->format == DRM_FORMAT_C8 ||
igt_fb_supported_format(data->format));
@@ -983,6 +985,7 @@ int igt_main()
igt_require(is_intel_device(data.drm_fd));
data.devid = intel_get_drm_devid(data.drm_fd);
+ data.disp_ver = intel_display_ver(data.devid);
kmstest_set_vt_graphics_mode();
--
2.34.1
next reply other threads:[~2026-02-27 6:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-27 6:33 Pranay Samala [this message]
2026-02-27 7:09 ` [PATCH i-g-t] tests/intel/kms_big_fb: Skip 90/270 rotation on Display Ver >= 13 Ville Syrjälä
2026-02-27 13:18 ` ✗ Fi.CI.BUILD: failure for " 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=20260227063333.2044616-1-pranay.samala@intel.com \
--to=pranay.samala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@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