[PATCH i-g-t v3 09/16] tests/intel: Add general XE tests to General Core Mega feature
Katarzyna Piecielska
katarzyna.piecielska at intel.com
Mon May 13 10:48:39 UTC 2024
Add general XE tests to 'General Core features' mega feature.
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/xe_create.c | 1 +
tests/intel/xe_debugfs.c | 3 +-
tests/intel/xe_dma_buf_sync.c | 1 +
tests/intel/xe_drm_fdinfo.c | 3 +-
tests/intel/xe_exec_atomic.c | 1 +
tests/intel/xe_exec_queue_property.c | 1 +
tests/intel/xe_intel_bb.c | 1 +
tests/intel/xe_live_ktest.c | 1 +
tests/intel/xe_module_load.c | 1 +
tests/intel/xe_peer2peer.c | 3 +-
tests/intel/xe_prime_self_import.c | 1 +
tests/intel/xe_query.c | 66 +++++++++++++++++-----------
tests/intel/xe_spin_batch.c | 1 +
tests/intel/xe_waitfence.c | 2 +
14 files changed, 57 insertions(+), 29 deletions(-)
diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
index 8d1db9896..59f1e2992 100644
--- a/tests/intel/xe_create.c
+++ b/tests/intel/xe_create.c
@@ -6,6 +6,7 @@
/**
* TEST: Check bo create ioctl
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: uapi
*/
diff --git a/tests/intel/xe_debugfs.c b/tests/intel/xe_debugfs.c
index 73b11dc74..1f4750923 100644
--- a/tests/intel/xe_debugfs.c
+++ b/tests/intel/xe_debugfs.c
@@ -5,11 +5,12 @@
/**
* TEST: Check debugfs userspace API
+ * Description: Validate debugfs entries
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: uapi
* Functionality: debugfs
* Test category: functionality test
- * Description: Validate debugfs entries
*/
#include <fcntl.h>
diff --git a/tests/intel/xe_dma_buf_sync.c b/tests/intel/xe_dma_buf_sync.c
index 2db576ba8..3ed690f4e 100644
--- a/tests/intel/xe_dma_buf_sync.c
+++ b/tests/intel/xe_dma_buf_sync.c
@@ -6,6 +6,7 @@
/**
* TEST: Check dmabuf functionality
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: dmabuf
* Test category: functionality test
*/
diff --git a/tests/intel/xe_drm_fdinfo.c b/tests/intel/xe_drm_fdinfo.c
index 9e5d0644a..51d2ea368 100644
--- a/tests/intel/xe_drm_fdinfo.c
+++ b/tests/intel/xe_drm_fdinfo.c
@@ -15,10 +15,11 @@
/**
* TEST: xe drm fdinfo
* Description: Read and verify drm client memory consumption using fdinfo
- * Feature: SMI, core
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: driver
* Functionality: Per client memory statistics
+ * Feature: SMI, core
* Test category: SysMan
*
* SUBTEST: basic
diff --git a/tests/intel/xe_exec_atomic.c b/tests/intel/xe_exec_atomic.c
index d9790da78..4eff16f7a 100644
--- a/tests/intel/xe_exec_atomic.c
+++ b/tests/intel/xe_exec_atomic.c
@@ -15,6 +15,7 @@
/**
* TEST: Tests to verify atomic functionality.
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: HW
* Functionality: intel-bb
* Test category: functionality test
diff --git a/tests/intel/xe_exec_queue_property.c b/tests/intel/xe_exec_queue_property.c
index c3a3751cb..6df9815ad 100644
--- a/tests/intel/xe_exec_queue_property.c
+++ b/tests/intel/xe_exec_queue_property.c
@@ -6,6 +6,7 @@
/**
* TEST: Basic tests to check exec_queue set/get property functionality
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: uapi
* Functionality: exec queue set property
* Test category: functionality test
diff --git a/tests/intel/xe_intel_bb.c b/tests/intel/xe_intel_bb.c
index 09164c41f..690576586 100644
--- a/tests/intel/xe_intel_bb.c
+++ b/tests/intel/xe_intel_bb.c
@@ -27,6 +27,7 @@
/**
* TEST: Basic tests for intel-bb xe functionality
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: IGT Lib
* Functionality: intel-bb
* Test category: functionality test
diff --git a/tests/intel/xe_live_ktest.c b/tests/intel/xe_live_ktest.c
index a894c6257..f3380dc98 100644
--- a/tests/intel/xe_live_ktest.c
+++ b/tests/intel/xe_live_ktest.c
@@ -5,6 +5,7 @@
* TEST: Xe driver live kunit tests
* Description: Xe driver live dmabuf unit tests
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: kunit
* Functionality: kunit test
* Test category: functionality test
diff --git a/tests/intel/xe_module_load.c b/tests/intel/xe_module_load.c
index 080e12ec8..ce63ab106 100644
--- a/tests/intel/xe_module_load.c
+++ b/tests/intel/xe_module_load.c
@@ -6,6 +6,7 @@
/**
* TEST: Tests the xe module loading
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: driver
* Functionality: module load
* Test category: functionality test
diff --git a/tests/intel/xe_peer2peer.c b/tests/intel/xe_peer2peer.c
index c63f1e4c4..59ea9964b 100644
--- a/tests/intel/xe_peer2peer.c
+++ b/tests/intel/xe_peer2peer.c
@@ -17,10 +17,11 @@
/**
* TEST: xe_peer2peer
+ * Description: Peer2peer dma buf copy tests
* Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: MultiGPU
* Functionality: dma buf copy
- * Description: Peer2peer dma buf copy tests
* Test category: xe
*
* SUBTEST: read
diff --git a/tests/intel/xe_prime_self_import.c b/tests/intel/xe_prime_self_import.c
index f47733bb2..10a393811 100644
--- a/tests/intel/xe_prime_self_import.c
+++ b/tests/intel/xe_prime_self_import.c
@@ -28,6 +28,7 @@
/**
* TEST: Check whether prime import/export works on the same device
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: DRM
* Functionality: prime import/export
* Test category: functionality test
diff --git a/tests/intel/xe_query.c b/tests/intel/xe_query.c
index a5a2dd7d4..de2b13818 100644
--- a/tests/intel/xe_query.c
+++ b/tests/intel/xe_query.c
@@ -6,6 +6,7 @@
/**
* TEST: Check device configuration query
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: uapi
* Functionality: ioctl
* Description: Acquire configuration data for xe device
@@ -176,10 +177,11 @@ const char *get_topo_name(int value)
* Test category: functionality test
*
* SUBTEST: multigpu-query-engines
- * Category: Hardware building block
* Description: Display engine classes available for all Xe devices.
- * Test category: functionality test
+ * Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: MultiGPU
+ * Test category: functionality test
*/
static void
test_query_engines(int fd)
@@ -204,10 +206,11 @@ test_query_engines(int fd)
* and alignment.
*
* SUBTEST: multigpu-query-mem-usage
+ * Description: Display memory information for all Xe devices.
* Category: Hardware building block
- * Test category: functionality test
+ * Mega feature: General Core features
* Sub-category: MultiGPU
- * Description: Display memory information for all Xe devices.
+ * Test category: functionality test
*/
static void
test_query_mem_regions(int fd)
@@ -269,10 +272,11 @@ test_query_mem_regions(int fd)
* Description: Display information about available GT components for xe device.
*
* SUBTEST: multigpu-query-gt-list
- * Category: Hardware building block
- * Test category: functionality test
* Description: Display information about GT components for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: MultiGPU
+ * Test category: functionality test
*/
static void
test_query_gt_list(int fd)
@@ -340,10 +344,11 @@ test_query_gt_list(int fd)
* Description: Display topology information of GT.
*
* SUBTEST: multigpu-query-topology
- * Category: Hardware building block
- * Test category: functionality test
* Description: Display topology information of GT for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: MultiGPU
+ * Test category: functionality test
*/
static void
test_query_gt_topology(int fd)
@@ -390,10 +395,11 @@ test_query_gt_topology(int fd)
* Description: Display xe device id, revision and configuration.
*
* SUBTEST: multigpu-query-config
- * Category: Hardware building block
- * Test category: functionality test
* Description: Display config information for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: MultiGPU
+ * Test category: functionality test
*/
static void
test_query_config(int fd)
@@ -445,10 +451,11 @@ test_query_config(int fd)
* Description: Display hardware configuration of xe device.
*
* SUBTEST: multigpu-query-hwconfig
- * Category: Hardware building block
- * Test category: functionality test
* Description: Display hardware configuration for all Xe devices.
+ * Category: Hardware building block
* Sub-category: MultiGPU
+ * Mega feature: General Core features
+ * Test category: functionality test
*/
static void
test_query_hwconfig(int fd)
@@ -485,10 +492,11 @@ test_query_hwconfig(int fd)
* Description: Check query with invalid arguments returns expected error code.
*
* SUBTEST: multigpu-query-invalid-query
- * Category: Hardware building block
- * Test category: negative test
* Description: Check query with invalid arguments for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: MultiGPU
+ * Test category: negative test
*/
static void
test_query_invalid_query(int fd)
@@ -509,10 +517,11 @@ test_query_invalid_query(int fd)
* Description: Check query with invalid size returns expected error code.
*
* SUBTEST: multigpu-query-invalid-size
- * Category: Hardware building block
- * Test category: negative test
* Description: Check query with invalid size for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: MultiGPU
+ * Test category: negative test
*/
static void
test_query_invalid_size(int fd)
@@ -533,10 +542,11 @@ test_query_invalid_size(int fd)
* Description: Check query with invalid extension returns expected error code.
*
* SUBTEST: multigpu-query-invalid-extension
- * Category: Hardware building block
- * Test category: negative test
* Description: Check query with invalid extension for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: MultiGPU
+ * Test category: negative test
*/
static void
test_query_invalid_extension(int fd)
@@ -698,8 +708,9 @@ __engine_cycles(int fd, struct drm_xe_engine_class_instance *hwe)
* Description: Query CPU-GPU timestamp correlation
*
* SUBTEST: multigpu-query-cs-cycles
- * Category: Hardware building block
* Description: Query CPU-GPU timestamp correlation for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: MultiGPU
*/
static void test_query_engine_cycles(int fd)
@@ -719,8 +730,9 @@ static void test_query_engine_cycles(int fd)
* Description: Check query with invalid arguments returns expected error code.
*
* SUBTEST: multigpu-query-invalid-cs-cycles
- * Category: Hardware building block
* Description: Check query with invalid arguments for all Xe devices.
+ * Category: Hardware building block
+ * Mega feature: General Core features
* Sub-category: MultiGPU
*/
static void test_engine_cycles_invalid(int fd)
@@ -833,9 +845,10 @@ test_query_uc_fw_version(int fd, uint32_t uc_type)
* Description: Display the GuC firmware submission version
*
* SUBTEST: multigpu-query-uc-fw-version-guc
- * Test category: functionality test
- * Sub-category: MultiGPU
* Description: Display GuC firmware submission version for all Xe devices.
+ * Mega feature: General Core features
+ * Sub-category: MultiGPU
+ * Test category: functionality test
*/
static void
test_query_uc_fw_version_guc(int fd)
@@ -849,9 +862,10 @@ test_query_uc_fw_version_guc(int fd)
* Description: Check query with invalid arguments returns expected error code.
*
* SUBTEST: multigpu-query-invalid-uc-fw-version-mbz
- * Test category: functionality test
- * Sub-category: MultiGPU
* Description: Check query with invalid arguments for all Xe devices.
+ * Mega feature: General Core features
+ * Sub-category: MultiGPU
+ * Test category: functionality test
*/
static void
test_query_uc_fw_version_invalid_mbz(int fd)
@@ -898,9 +912,9 @@ test_query_uc_fw_version_invalid_mbz(int fd)
* Description: Display the HuC firmware version
*
* SUBTEST: multigpu-query-uc-fw-version-huc
- * Test category: functionality test
- * Sub-category: MultiGPU
* Description: Display HuC firmware version for all Xe devices.
+ * Sub-category: MultiGPU
+ * Test category: functionality test
*/
static void
test_query_uc_fw_version_huc(int fd)
diff --git a/tests/intel/xe_spin_batch.c b/tests/intel/xe_spin_batch.c
index 68cbd1bd1..66ed0b77e 100644
--- a/tests/intel/xe_spin_batch.c
+++ b/tests/intel/xe_spin_batch.c
@@ -9,6 +9,7 @@
/**
* TEST: Tests for spin batch submissons.
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: IGT Lib
* Functionality: parallel execution
* Test category: functionality test
diff --git a/tests/intel/xe_waitfence.c b/tests/intel/xe_waitfence.c
index 45378d95d..6916694f9 100644
--- a/tests/intel/xe_waitfence.c
+++ b/tests/intel/xe_waitfence.c
@@ -16,6 +16,7 @@
/**
* TEST: Check if waitfences work
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: Synchronization
* Functionality: waitfence
* Test category: functionality test
@@ -140,6 +141,7 @@ waitfence(int fd, enum waittype wt)
/**
* TEST: Negative test for wait ufence ioctl
* Category: Software building block
+ * Mega feature: General Core features
* Sub-category: Synchronization
* Functionality: waitfence
* Test category: negative test
--
2.34.1
More information about the igt-dev
mailing list