[PATCH i-g-t 10/16] tests/intel: Introduce Performance mega feature

Katarzyna Piecielska katarzyna.piecielska at intel.com
Wed Mar 27 12:27:25 UTC 2024


Add mega feature to Performance 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_ctx_freq.c  |  5 +++--
 tests/intel/i915_selftest.c | 43 +++++++++++++++++++++----------------
 tests/intel/perf.c          |  7 +++---
 tests/intel/perf_pmu.c      |  7 +++---
 4 files changed, 36 insertions(+), 26 deletions(-)

diff --git a/tests/intel/gem_ctx_freq.c b/tests/intel/gem_ctx_freq.c
index db67cade5..e862a084a 100644
--- a/tests/intel/gem_ctx_freq.c
+++ b/tests/intel/gem_ctx_freq.c
@@ -40,9 +40,10 @@
 /**
  * TEST: gem ctx freq
  * Category: Server
- * Feature: context feature
+ * Mega feature: Performance
+ * Sub-category: Performance tests
  * Functionality: frequency management
- * Sub-category: Performance
+ * Feature: context
  * Test category: GEM_Legacy
  *
  * SUBTEST: sysfs
diff --git a/tests/intel/i915_selftest.c b/tests/intel/i915_selftest.c
index 517151e48..aeb9deb13 100644
--- a/tests/intel/i915_selftest.c
+++ b/tests/intel/i915_selftest.c
@@ -319,11 +319,12 @@
  * Test category: i915
  *
  * SUBTEST: live at perf
- * Category: Selftest
- * Feature: i915 perf selftests
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
+ * Feature: i915 perf selftests
  *
  * SUBTEST: live at remote_tiles
  * Description: Tile meta data validation
@@ -586,42 +587,48 @@
  *
  * SUBTEST: perf
  * Category: Selftest
- * Feature: i915 perf selftests
+ * Mega feature: Performance
+ * Sub-category: Performance tests
  * Functionality: oa
- * Sub-category: Performance
+ * Feature: oa
  *
  * SUBTEST: perf at blt
- * Category: Selftest
- * Feature: i915 perf selftests
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
+ * Feature: i915 perf selftests
  *
  * SUBTEST: perf at engine_cs
- * Category: Selftest
- * Feature: i915 perf selftests
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
+ * Feature: i915 perf selftests
  *
  * SUBTEST: perf at region
- * Category: Selftest
- * Feature: i915 perf selftests
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
+ * Feature: i915 perf selftests
  *
  * SUBTEST: perf at request
- * Category: Selftest
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
  *
  * SUBTEST: perf at scheduler
- * Category: Selftest
  * Description: Basic i915 module perf unit selftests
+ * Category: Selftest
+ * Mega feature: Performance
+ * Sub-category: Performance tests
  * Functionality: perf
- * Sub-category: Performance
  */
 
 IGT_TEST_DESCRIPTION("Basic unit tests for i915.ko");
diff --git a/tests/intel/perf.c b/tests/intel/perf.c
index 651ea9fd8..53ca5f625 100644
--- a/tests/intel/perf.c
+++ b/tests/intel/perf.c
@@ -48,11 +48,12 @@
 /**
  * TEST: perf
  * Description: Test the i915 perf metrics streaming interface
+ * Category: Desktop client
+ * Mega feature: Performance
+ * Sub-category: Performance tests
+ * Functionality: oa
  * Feature: i915 streaming interface, oa
  * Test category: Perf
- * Functionality: oa
- * Sub-category: Performance
- * Category: Desktop client
  *
  * SUBTEST: blocking
  * Description: Test blocking read with default hrtimer frequency
diff --git a/tests/intel/perf_pmu.c b/tests/intel/perf_pmu.c
index e3d2f4664..8c444c8b3 100644
--- a/tests/intel/perf_pmu.c
+++ b/tests/intel/perf_pmu.c
@@ -52,11 +52,12 @@
 /**
  * TEST: perf pmu
  * Description: Test the i915 pmu perf interface
- * Feature: i915 pmu perf interface, pmu feature
- * Test category: Perf
- * Sub-category: Performance
  * Category: Desktop client
+ * Mega feature: Performance
+ * Sub-category: Performance tests
  * Functionality: pmu
+ * Feature: i915 pmu perf interface, pmu
+ * Test category: Perf
  *
  * SUBTEST: all-busy-check-all
  * Description: Test the i915 pmu perf interface
-- 
2.34.1



More information about the igt-dev mailing list