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

Katarzyna Piecielska katarzyna.piecielska at intel.com
Tue Apr 23 10:49:02 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 | 5 +++--
 tests/intel/gem_userptr_blits.c   | 5 +++--
 tests/intel/gem_vm_create.c       | 3 ++-
 tests/intel/xe_compute.c          | 3 ++-
 tests/intel/xe_compute_preempt.c  | 3 ++-
 tests/intel/xe_noexec_ping_pong.c | 3 ++-
 7 files changed, 17 insertions(+), 10 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 80ece13a7..1d4a14900 100644
--- a/tests/intel/gem_ctx_persistence.c
+++ b/tests/intel/gem_ctx_persistence.c
@@ -47,10 +47,11 @@
 #include "sw_sync.h"
 /**
  * TEST: gem ctx persistence
- * Feature: context feature
  * Category: Server
+ * Sub-category: Compute tests
+ * Mega feature: Compute
  * Functionality: context
- * Sub-category: Compute
+ * 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..0592236bc 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
- * Feature: userptr
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Functionality: buffer management
- * Sub-category: Compute
+ * Feature: userptr
  * Test category: GEM_Legacy
  *
  * SUBTEST: access-control
diff --git a/tests/intel/gem_vm_create.c b/tests/intel/gem_vm_create.c
index 2788e1745..8e9d1c193 100644
--- a/tests/intel/gem_vm_create.c
+++ b/tests/intel/gem_vm_create.c
@@ -30,8 +30,9 @@
 /**
  * TEST: gem vm create
  * Category: Server
+ * Mega feature: Compute
+ * Sub-category: Compute tests
  * Functionality: context
- * Sub-category: Compute
  * Feature: mapping
  * Test category: GEM_Legacy
  *
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 78b19158d..df30a6936 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
  *
-- 
2.34.1



More information about the igt-dev mailing list