Skip to contentSkip to conversation

tests/intel/xe_exec_system_allocator: Rename subtest to preffered-loc-atomic-device

PATCH In review [email protected] 3 participants 3 messages Jun 15

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/intel/xe_exec_system_allocator: Rename subtest to preffered-loc-atomic-device

From: Nishit Sharma <[email protected]>

The subtest name "preffered-loc-atomic-vram" is misleading because it exercises the DRM_XE_ATOMIC_DEVICE preferred-location atomic attribute path, which applies to both dGPU (VRAM) and iGPU (SMEM) configurations. Running a subtest labelled "-vram" on an iGPU where no VRAM is present causes unnecessary confusion.

---
 tests/intel/xe_exec_system_allocator.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/intel/xe_exec_system_allocator.c +2 -2
index 8fafb503e..48ae738ec 100644
@@ -508,7 +508,7 @@ static void __aligned_partial_free(struct aligned_alloc_type  *aligned_alloc_typ
  * Description: performs prefetch and page migration
  * Test category: functionality test
  *
- * SUBTEST: madvise-preffered-loc-atomic-vram
+ * SUBTEST: madvise-preffered-loc-atomic-device
  * Description: performs both atomic and preferred loc madvise operations atomic device attributes set
  * Test category: functionality test
  *
@@ -2538,7 +2538,7 @@ int igt_main()
 		{ "atomic-inc", MADVISE_OP | MADVISE_ATOMIC_DEVICE | ATOMIC_BATCH },
 		{ "preffered-loc-sram-migrate-pages",
 		  MADVISE_OP | MADVISE_SWIZZLE | MIGRATE_ALL_PAGES | ATOMIC_BATCH },
-		{ "preffered-loc-atomic-vram",
+		{ "preffered-loc-atomic-device",
 		  MADVISE_OP | PREFERRED_LOC_ATOMIC_DEVICE | ATOMIC_BATCH },
 		{ "preffered-loc-atomic-gl",
 		  MADVISE_OP | PREFERRED_LOC_ATOMIC_GL | ATOMIC_BATCH },
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · On 15-06-2026 15:10, [email protected] wrote:

From: Nishit Sharma <[email protected]>

The subtest name "preffered-loc-atomic-vram" is misleading because it exercises the DRM_XE_ATOMIC_DEVICE preferred-location atomic attribute path, which applies to both dGPU (VRAM) and iGPU (SMEM) configurations. Running a subtest labelled "-vram" on an iGPU where no VRAM is present causes unnecessary confusion.

Quoted 26 lines
---
  tests/intel/xe_exec_system_allocator.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
tests/intel/xe_exec_system_allocator.c +2 -2
index 8fafb503e..48ae738ec 100644
@@ -508,7 +508,7 @@ static void __aligned_partial_free(struct aligned_alloc_type  *aligned_alloc_typ
   * Description: performs prefetch and page migration
   * Test category: functionality test
   *
- * SUBTEST: madvise-preffered-loc-atomic-vram
+ * SUBTEST: madvise-preffered-loc-atomic-device
   * Description: performs both atomic and preferred loc madvise operations atomic device attributes set
   * Test category: functionality test
   *
@@ -2538,7 +2538,7 @@ int igt_main()
  		{ "atomic-inc", MADVISE_OP | MADVISE_ATOMIC_DEVICE | ATOMIC_BATCH },
  		{ "preffered-loc-sram-migrate-pages",
  		  MADVISE_OP | MADVISE_SWIZZLE | MIGRATE_ALL_PAGES | ATOMIC_BATCH },
-		{ "preffered-loc-atomic-vram",
+		{ "preffered-loc-atomic-device",
  		  MADVISE_OP | PREFERRED_LOC_ATOMIC_DEVICE | ATOMIC_BATCH },
  		{ "preffered-loc-atomic-gl",
  		  MADVISE_OP | PREFERRED_LOC_ATOMIC_GL | ATOMIC_BATCH },