From: Varun Gupta <varun.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: priyanka.dandamudi@intel.com, thomas.hellstrom@intel.com,
nishit.sharma@intel.com
Subject: [PATCH i-g-t] tests/intel/xe_evict: Drop blanket skip when system memory < VRAM
Date: Tue, 29 Sep 2026 23:09:29 +0530 [thread overview]
Message-ID: <20260929173928.3098760-2-varun.gupta@intel.com> (raw)
Since working_set() already clamps each subtest's allocation to what
fits in VRAM plus 4/5 of available system memory, and every subtest
loop has its own igt_skip_on_f(!ws) for cases that end up too small
to run. The fixture-level skip is therefore redundant and skips the
entire eviction suite.
Remove the skip and rely on the per-subtest working_set() sizing.
Signed-off-by: Varun Gupta <varun.gupta@intel.com>
---
tests/intel/xe_evict.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/tests/intel/xe_evict.c b/tests/intel/xe_evict.c
index 5a7298db0..230357419 100644
--- a/tests/intel/xe_evict.c
+++ b/tests/intel/xe_evict.c
@@ -911,15 +911,6 @@ int igt_main()
igt_assert(vram_size);
system_size = igt_get_avail_ram_mb() << 20;
- /* Test requires SRAM to about as big as VRAM. For example, small-cm creates
- * (448 / 2) BOs with a size (1 / 128) of the total VRAM size. For
- * simplicity ensure the SRAM size >= VRAM before running this test.
- */
- igt_skip_on_f(system_size < vram_size,
- "System memory %llu MiB is less than local memory %llu MiB\n",
- (unsigned long long)system_size >> 20,
- (unsigned long long)vram_size >> 20);
-
xe_for_each_engine(fd, hwe)
if (hwe->engine_class != DRM_XE_ENGINE_CLASS_COPY)
break;
--
2.43.0
next reply other threads:[~2026-09-29 17:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 17:39 Varun Gupta [this message]
2026-09-29 22:42 ` ✓ i915.CI.BAT: success for tests/intel/xe_evict: Drop blanket skip when system memory < VRAM Patchwork
2026-09-29 23:42 ` ✗ Xe.CI.BAT: failure " Patchwork
2026-09-30 3:49 ` [PATCH i-g-t] " Sharma, Nishit
2026-09-30 9:53 ` Gupta, Varun
2026-09-30 5:37 ` ✗ Xe.CI.FULL: failure for " Patchwork
2026-09-30 10:04 ` Gupta, Varun
2026-09-30 9:52 ` ✓ 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=20260929173928.3098760-2-varun.gupta@intel.com \
--to=varun.gupta@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=nishit.sharma@intel.com \
--cc=priyanka.dandamudi@intel.com \
--cc=thomas.hellstrom@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