[PATCH i-g-t v3 05/16] tests/intel: Introduce Compute Mega feature

Katarzyna Piecielska katarzyna.piecielska at intel.com
Mon May 13 10:48:35 UTC 2024


Add mega feature to Compute tests.
Group:
	SUBTEST
	Description
	Category
	Mega feature
	Sub-category
	Functionality

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>
Cc: Aditya Chauhan <aditya.chauhan at intel.com>
Cc: Girotra Himanshu <himanshu.girotra at intel.com>
CC: Sandeep Kumar Parupalli <sandeep.kumar.parupalli at intel.com>
---
 tests/intel/gem_compute.c         | 5 +++--
 tests/intel/gem_ctx_persistence.c | 2 +-
 tests/intel/gem_userptr_blits.c   | 5 +++--
 tests/intel/xe_compute.c          | 3 ++-
 tests/intel/xe_compute_preempt.c  | 3 ++-
 tests/intel/xe_noexec_ping_pong.c | 3 ++-
 tests/intel/xe_pm.c               | 2 +-
 7 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/tests/intel/gem_compute.c b/tests/intel/gem_compute.c
index ffab45d61..bc640fa11 100644
--- a/tests/intel/gem_compute.c
+++ b/tests/intel/gem_compute.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Check compute-related functionality
  * Category: Hardware building block
- * Sub-category: Compute
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Test category: functionality test
  */
 
@@ -21,7 +22,7 @@
  * Description:
  *	Run an openCL Kernel that returns output[i] = input[i] * input[i],
  *	for an input dataset..
- * Functionality: compute openCL kernel
+ * Functionality: OpenCL kernel
  */
 static void
 test_compute_square(int fd)
diff --git a/tests/intel/gem_ctx_persistence.c b/tests/intel/gem_ctx_persistence.c
index 57dd85b88..6c220fba5 100644
--- a/tests/intel/gem_ctx_persistence.c
+++ b/tests/intel/gem_ctx_persistence.c
@@ -47,11 +47,11 @@
 #include "sw_sync.h"
 /**
  * TEST: gem ctx persistence
- * Feature: context feature
  * Category: Server
  * Mega feature: General Core features
  * Sub-category: CMD submission
  * Functionality: context
+ * Feature: context
  * Test category: GEM_Legacy
  *
  * SUBTEST: engines-cleanup
diff --git a/tests/intel/gem_userptr_blits.c b/tests/intel/gem_userptr_blits.c
index 66f2a9416..f62e7dbbf 100644
--- a/tests/intel/gem_userptr_blits.c
+++ b/tests/intel/gem_userptr_blits.c
@@ -70,9 +70,10 @@
 /**
  * TEST: gem userptr blits
  * Category: Server
+ * Mega feature: Compute
+ * Sub-category: Compute tests
+ * Functionality: userptr blits
  * Feature: userptr
- * Functionality: buffer management
- * Sub-category: Compute
  * Test category: GEM_Legacy
  *
  * SUBTEST: access-control
diff --git a/tests/intel/xe_compute.c b/tests/intel/xe_compute.c
index 735b2fcd0..8cf5e393b 100644
--- a/tests/intel/xe_compute.c
+++ b/tests/intel/xe_compute.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Check compute-related functionality
  * Category: Hardware building block
- * Sub-category: Compute
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Test category: functionality test
  */
 
diff --git a/tests/intel/xe_compute_preempt.c b/tests/intel/xe_compute_preempt.c
index 3817b5a30..306b178df 100644
--- a/tests/intel/xe_compute_preempt.c
+++ b/tests/intel/xe_compute_preempt.c
@@ -6,7 +6,8 @@
 /**
  * TEST: Check compute-related preemption functionality
  * Category: Hardware building block
- * Sub-category: Compute
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Functionality: OpenCL kernel
  * Test category: functionality test
  */
diff --git a/tests/intel/xe_noexec_ping_pong.c b/tests/intel/xe_noexec_ping_pong.c
index f88f2af9d..9024623d9 100644
--- a/tests/intel/xe_noexec_ping_pong.c
+++ b/tests/intel/xe_noexec_ping_pong.c
@@ -18,7 +18,8 @@
 /**
  * TEST: Expose compute VM's unnecessary rebinds
  * Category: Hardware building block
- * Sub-category: Compute
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Functionality: VM rebind
  * Test category: functionality test
  *
diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
index 2e2a21ac9..ba9268f6d 100644
--- a/tests/intel/xe_pm.c
+++ b/tests/intel/xe_pm.c
@@ -622,7 +622,7 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
  * Description:
  *     Validate mocs register contents over suspend resume
  *
- * Functionality: mocs
+ * Functionality: mocs registers
  * Run type: FULL
  */
 static void test_mocs_suspend_resume(device_t device, bool runtime_sr, enum igt_suspend_state state)
-- 
2.34.1



More information about the igt-dev mailing list