Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/xe_evict: Drop blanket skip when system memory < VRAM
@ 2026-09-29 17:39 Varun Gupta
  2026-09-29 22:42 ` ✓ i915.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Varun Gupta @ 2026-09-29 17:39 UTC (permalink / raw)
  To: igt-dev; +Cc: priyanka.dandamudi, thomas.hellstrom, nishit.sharma

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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-09-30 10:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-29 17:39 [PATCH i-g-t] tests/intel/xe_evict: Drop blanket skip when system memory < VRAM Varun Gupta
2026-09-29 22:42 ` ✓ i915.CI.BAT: success for " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox