[PATCH i-g-t v5 05/24] tests/intel: Add tests to Compute subcategory

Katarzyna Piecielska katarzyna.piecielska at intel.com
Thu Mar 21 15:38:28 UTC 2024


Let's add to Compute subcategory:
 - tests/intel/gem_compute.c
 - tests/intel/gem_vm_create.c

v2: Make Sub-category/Functionality/Feature unique values. (Kamil)

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska at intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
---
 tests/intel/gem_compute.c         | 2 +-
 tests/intel/gem_ctx_persistence.c | 2 +-
 tests/intel/gem_vm_create.c       | 7 ++++---
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/tests/intel/gem_compute.c b/tests/intel/gem_compute.c
index 8d0214c4d..8bd9635ae 100644
--- a/tests/intel/gem_compute.c
+++ b/tests/intel/gem_compute.c
@@ -6,7 +6,7 @@
 /**
  * TEST: Check compute-related functionality
  * Category: Hardware building block
- * Sub-category: compute
+ * Sub-category: Compute
  * Test category: functionality test
  * Run type: BAT
  */
diff --git a/tests/intel/gem_ctx_persistence.c b/tests/intel/gem_ctx_persistence.c
index 3f10c0fa3..6528e0f9c 100644
--- a/tests/intel/gem_ctx_persistence.c
+++ b/tests/intel/gem_ctx_persistence.c
@@ -47,7 +47,7 @@
 #include "sw_sync.h"
 /**
  * TEST: gem ctx persistence
- * Feature: context
+ * Feature: context feature
  * Category: Server
  * Functionality: context
  * Sub-category: Compute
diff --git a/tests/intel/gem_vm_create.c b/tests/intel/gem_vm_create.c
index 8834c987f..cb73828da 100644
--- a/tests/intel/gem_vm_create.c
+++ b/tests/intel/gem_vm_create.c
@@ -30,10 +30,11 @@
 /**
  * TEST: gem vm create
  * Category: Server
- * Functionality: context management
- * Run type: FULL
+ * Functionality: context
  * Sub-category: Compute
+ * Feature: mapping
  * Test category: GEM_Legacy
+ * Run type: FULL
  *
  * SUBTEST: create-ext
  * Feature: mapping
@@ -48,7 +49,7 @@
  * Feature: mapping
  *
  * SUBTEST: isolation
- * Feature: context, mapping
+ * Feature: context feature, mapping
  */
 
 static int vm_create_ioctl(int i915, struct drm_i915_gem_vm_control *ctl)
-- 
2.34.1



More information about the igt-dev mailing list