public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Nemesa Garg <nemesa.garg@intel.com>
Subject: [PATCH i-g-t, v2 4/7] tests/kms_plane: modify the condition for odd pan
Date: Wed,  7 Jan 2026 15:05:32 +0530	[thread overview]
Message-ID: <20260107093535.70116-5-swati2.sharma@intel.com> (raw)
In-Reply-To: <20260107093535.70116-1-swati2.sharma@intel.com>

From: Nemesa Garg <nemesa.garg@intel.com>

NVL onwards there is support for odd horizontal
panning so add a platform check so that expected
return value is 0 instead of EINVAL.

Signed-off-by: Nemesa Garg <nemesa.garg@intel.com>
---
 tests/kms_plane.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index cbc006d7e..ec3245c9f 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -1322,6 +1322,9 @@ static void test_planar_settings(data_t *data)
 				     DRM_FORMAT_MOD_LINEAR)) {
 		int expected_rval = -EINVAL;
 
+		if (display_ver >= 35)
+			expected_rval = 0;
+
 		igt_create_fb(data->drm_fd, 810, 590,
 			      DRM_FORMAT_NV12, DRM_FORMAT_MOD_LINEAR, &fb);
 		igt_plane_set_fb(primary, &fb);
-- 
2.25.1


  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 ` [PATCH i-g-t, v2 1/7] tests/intel/kms_big_fb: NVL supports horizontal flip with linear surfaces Swati Sharma
2026-01-08 15:32   ` 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 ` Swati Sharma [this message]
2026-01-08 15:31   ` [PATCH i-g-t, v2 4/7] tests/kms_plane: modify the condition for odd pan 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-5-swati2.sharma@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=nemesa.garg@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