public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: nishit.sharma@intel.com
To: igt-dev@lists.freedesktop.org, kamil.konieczny@intel.com
Subject: [PATCH i-g-t] tests/intel/xe_exec_system_allocator: Skip madvise-pat-idx-uc-comp-* compression tests on PVC
Date: Tue, 17 Mar 2026 15:21:32 +0000	[thread overview]
Message-ID: <20260317152132.744204-1-nishit.sharma@intel.com> (raw)

From: Nishit Sharma <nishit.sharma@intel.com>

Add a check to skip "madvise-pat-idx-uc-comp-*" compression-related PAT
index subtests on Ponte Vecchio (PVC) platforms.
This prevents running unsupported or problematic compression tests for
the "uc-comp" variant on PVC hardware.

Signed-off-by: Nishit Sharma <nishit.sharma@intel.com>
---
 tests/intel/xe_exec_system_allocator.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/intel/xe_exec_system_allocator.c b/tests/intel/xe_exec_system_allocator.c
index c645f6491..e0217c9d5 100644
--- a/tests/intel/xe_exec_system_allocator.c
+++ b/tests/intel/xe_exec_system_allocator.c
@@ -2517,6 +2517,7 @@ int igt_main()
 	};
 
 	int fd, svm_compute_loops = getenv_int("IGT_SVM_COMPUTE_LOOPS", 1);
+	uint16_t dev_id;
 
 	igt_fixture() {
 		struct xe_device *xe;
@@ -2527,6 +2528,7 @@ int igt_main()
 		xe = xe_device_get(fd);
 		va_bits = xe->va_bits;
 		open_sync_file();
+		dev_id = intel_get_drm_devid(fd);
 	}
 
 	for (const struct section *s = sections; s->name; s++) {
@@ -2727,6 +2729,9 @@ int igt_main()
 			     !xe_has_vram(fd)) {
 				igt_skip("Skipping compression-related PAT index\n");
 			}
+			if (IS_PONTEVECCHIO(dev_id) &&
+			    strstr(s->name, "madvise-pat-idx-uc-comp-"))
+				igt_skip("Skipping compression test on PVC\n");
 			xe_for_each_engine(fd, hwe)
 				test_exec(fd, hwe, 1, 1, SZ_4M, 0, 0, NULL, NULL, s->flags, s->fn);
 		}
-- 
2.34.1


             reply	other threads:[~2026-03-17 15:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-17 15:21 nishit.sharma [this message]
2026-03-17 17:41 ` [PATCH i-g-t] tests/intel/xe_exec_system_allocator: Skip madvise-pat-idx-uc-comp-* compression tests on PVC Kamil Konieczny
2026-03-17 23:28 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-03-17 23:55 ` ✓ i915.CI.BAT: " Patchwork
2026-03-19 10:36 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-19 13:35   ` Sharma, Nishit

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=20260317152132.744204-1-nishit.sharma@intel.com \
    --to=nishit.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@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