From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Subject: [PATCH i-g-t, v2 1/7] tests/intel/kms_big_fb: NVL supports horizontal flip with linear surfaces
Date: Wed, 7 Jan 2026 15:05:29 +0530 [thread overview]
Message-ID: <20260107093535.70116-2-swati2.sharma@intel.com> (raw)
In-Reply-To: <20260107093535.70116-1-swati2.sharma@intel.com>
From: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Starting NVL (display version 35), horizontal flip is supported with
linear surfaces, thus don't skip that case.
Signed-off-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
---
tests/intel/kms_big_fb.c | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/tests/intel/kms_big_fb.c b/tests/intel/kms_big_fb.c
index 8a9ed8042..595611c31 100644
--- a/tests/intel/kms_big_fb.c
+++ b/tests/intel/kms_big_fb.c
@@ -82,23 +82,24 @@
* of %arg[1] modifier with max hardware stride length, %arg[2]-bpp,
* and %arg[3]-rotation
*
+ * SUBTEST: %s-max-hw-stride-%dbpp-rotate-%d-hflip
+ * Description: Test maximum hardware supported stride length for given combination
+ * of %arg[1] modifier with max hardware stride length, %arg[2]-bpp,
+ * and %arg[3]-rotation with H-flip mode
+ *
* arg[1]:
*
* @4-tiled: TILE-4 modifier
* @x-tiled: TILE-X modifier
* @y-tiled: TILE-Y modifier
* @yf-tiled: TILE-YF modifier
+ * @linear: LINEAR modifier
*
* arg[2].values: 32, 64
* arg[3].values: 0, 180
*/
/**
- * SUBTEST: %s-max-hw-stride-%dbpp-rotate-%d-hflip
- * Description: Test maximum hardware supported stride length for given combination
- * of %arg[1] modifier with max hardware stride length, %arg[2]-bpp,
- * and %arg[3]-rotation with H-flip mode
- *
* SUBTEST: %s-max-hw-stride-%dbpp-rotate-%d-%s
* Description: Test maximum hardware supported stride length for given combination
* of %arg[1] modifier with max hardware stride length, %arg[2]-bpp,
@@ -1106,15 +1107,18 @@ int igt_main()
for (int k = 0; k < ARRAY_SIZE(rotations); k++) {
data.rotation = rotations[k].rotation | fliptab[l].flip;
- // this combination will never happen.
- if (igt_rotation_90_or_270(data.rotation) ||
- (fliptab[l].flip == IGT_REFLECT_X && modifiers[i].modifier == DRM_FORMAT_MOD_LINEAR))
+ if (igt_rotation_90_or_270(data.rotation))
continue;
igt_describe("test maximum hardware supported stride length for given bpp and modifiers.");
igt_subtest_f("%s-max-hw-stride-%dbpp-rotate-%d%s", modifiers[i].name,
formats[j].bpp, rotations[k].angle, fliptab[l].flipname) {
igt_require(intel_display_ver(intel_get_drm_devid(data.drm_fd)) >= 5);
+
+ if(fliptab[l].flip == IGT_REFLECT_X &&
+ modifiers[i].modifier == DRM_FORMAT_MOD_LINEAR)
+ igt_require(intel_display_ver(data.devid) >= 35);
+
data.max_hw_fb_width = min(data.hw_stride / (formats[j].bpp >> 3), data.max_fb_width);
test_scanout(&data);
--
2.25.1
next prev parent reply other threads:[~2026-01-07 9:27 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 9:35 [PATCH i-g-t,v2 0/7] Add NVL display related test updates Swati Sharma
2026-01-07 9:35 ` Swati Sharma [this message]
2026-01-08 15:32 ` [PATCH i-g-t, v2 1/7] tests/intel/kms_big_fb: NVL supports horizontal flip with linear surfaces Juha-Pekka Heikkilä
2026-01-09 8:37 ` Karthik B S
2026-01-07 9:35 ` [PATCH i-g-t, v2 2/7] tests/intel/kms_flip_scaled_crc: add flip to reflect-x tests Swati Sharma
2026-01-08 15:31 ` Juha-Pekka Heikkilä
2026-01-09 8:47 ` Karthik B S
2026-01-07 9:35 ` [PATCH i-g-t, v2 3/7] tests/kms_plane: add test and limitations for odd height planar tests Swati Sharma
2026-01-08 15:30 ` Juha-Pekka Heikkilä
2026-01-12 8:09 ` Karthik B S
2026-01-07 9:35 ` [PATCH i-g-t, v2 4/7] tests/kms_plane: modify the condition for odd pan Swati Sharma
2026-01-08 15:31 ` Juha-Pekka Heikkilä
2026-01-12 8:11 ` Karthik B S
2026-01-07 9:35 ` [PATCH i-g-t, v2 5/7] tests/intel/kms_frontbuffer_tracking: Add FBC support to FP16 formats Swati Sharma
2026-01-07 9:35 ` [PATCH i-g-t,v2 6/7] intel-ci: Add NVL display blocklist Swati Sharma
2026-01-07 9:35 ` [PATCH i-g-t, v2 7/7] tests/intel/kms_test_config: Add NVL display blocklist entry Swati Sharma
2026-01-07 10:48 ` ✓ Xe.CI.BAT: success for Add NVL display related test updates (rev2) Patchwork
2026-01-07 10:55 ` ✓ i915.CI.BAT: " Patchwork
2026-01-07 13:17 ` ✗ Xe.CI.Full: failure " Patchwork
2026-01-07 14:24 ` ✗ i915.CI.Full: " Patchwork
2026-01-14 5:17 ` ✓ i915.CI.Full: success " 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=20260107093535.70116-2-swati2.sharma@intel.com \
--to=swati2.sharma@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=sai.teja.pottumuttu@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