[PATCH i-g-t v5 14/24] tests/intel: Introduce Power management subcategory

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


Let's put e.g. pm_rps, pm_rpm, sseu, hwmon, suspend, freg multipliers
and others under Power management subcategory.

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

Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska at intel.com>
Cc: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
Acked-by: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
---
 tests/intel/gem_pxp.c               |  3 ++-
 tests/intel/i915_pm_freq_mult.c     |  9 ++++++---
 tests/intel/i915_pm_rc6_residency.c |  1 +
 tests/intel/i915_pm_rpm.c           |  2 ++
 tests/intel/i915_pm_rps.c           |  5 ++++-
 tests/intel/i915_pm_sseu.c          |  3 +++
 tests/intel/i915_power.c            |  3 +++
 tests/intel/i915_suspend.c          | 13 ++++++++-----
 8 files changed, 29 insertions(+), 10 deletions(-)

diff --git a/tests/intel/gem_pxp.c b/tests/intel/gem_pxp.c
index 6a7f8e487..bef6056ba 100644
--- a/tests/intel/gem_pxp.c
+++ b/tests/intel/gem_pxp.c
@@ -10,9 +10,10 @@
 /**
  * TEST: gem pxp
  * Description: Test PXP that manages protected content through arbitrated HW-PXP-session
- * Feature: PXP
+ * Feature: Protected Xe Path
  * Functionality: pxp
  * Sub-category: Power management
+ * Category: Desktop client
  * Run type: FULL
  *
  * SUBTEST: create-protected-buffer
diff --git a/tests/intel/i915_pm_freq_mult.c b/tests/intel/i915_pm_freq_mult.c
index 49f6722b1..8f59be1bd 100644
--- a/tests/intel/i915_pm_freq_mult.c
+++ b/tests/intel/i915_pm_freq_mult.c
@@ -12,9 +12,12 @@
 #include "igt_sysfs.h"
 /**
  * TEST: i915 pm freq mult
- * Description:
- *   Tests for sysfs controls (or multipliers) for IP blocks which run at frequencies different
- *   from the main GT frequency.
+ * Description: Tests for sysfs controls (or multipliers) for IP blocks which
+ *		run at frequencies different from the main GT frequency.
+ * Category: Firmware building block
+ * Functionality: freq multipliers
+ * Test category: i915
+ * Sub-category: Power management
  * Run type: FULL
  *
  * SUBTEST: media-freq
diff --git a/tests/intel/i915_pm_rc6_residency.c b/tests/intel/i915_pm_rc6_residency.c
index 30f57858d..67ae1f1f9 100644
--- a/tests/intel/i915_pm_rc6_residency.c
+++ b/tests/intel/i915_pm_rc6_residency.c
@@ -46,6 +46,7 @@
  * Feature: GuCRC, pm_rc6
  * Functionality: rc6
  * Sub-category: Power management
+ * Category: Desktop client
  * Run type: FULL
  *
  * SUBTEST: media-rc6-accuracy
diff --git a/tests/intel/i915_pm_rpm.c b/tests/intel/i915_pm_rpm.c
index 9fbfac744..be8d5fd77 100644
--- a/tests/intel/i915_pm_rpm.c
+++ b/tests/intel/i915_pm_rpm.c
@@ -44,6 +44,8 @@
  * TEST: i915 pm rpm
  * Feature: pm_rpm
  * Functionality: D3 state entry-exit
+ * Sub-category: Power management
+ * Category: Desktop client
  * Test category: pm_rpm
  * Run type: FULL
  *
diff --git a/tests/intel/i915_pm_rps.c b/tests/intel/i915_pm_rps.c
index 820edd45e..3d8fbcb8f 100644
--- a/tests/intel/i915_pm_rps.c
+++ b/tests/intel/i915_pm_rps.c
@@ -49,6 +49,9 @@
  * Description: Render P-States tests - verify GPU frequency changes
  * Feature: pm_rps
  * Test category: pm_rps
+ * Functionality: rps
+ * Sub-category: Power management
+ * Category: Desktop client
  * Run type: FULL
  *
  * SUBTEST: basic-api
@@ -63,7 +66,7 @@
  * Description:
  *   Check if the order of fences does not affect waitboosting.
  *   Render P-States tests - verify GPU frequency changes
- * Feature: pm_rps, synchronization
+ * Feature: pm_rps, synchronization feature
  *
  * SUBTEST: min-max-config-idle
  * SUBTEST: min-max-config-loaded
diff --git a/tests/intel/i915_pm_sseu.c b/tests/intel/i915_pm_sseu.c
index cee29a7c5..354403ef2 100644
--- a/tests/intel/i915_pm_sseu.c
+++ b/tests/intel/i915_pm_sseu.c
@@ -39,6 +39,9 @@
  * TEST: i915 pm sseu
  * Description: Tests slice/subslice/EU power gating functionality.
  * Feature: pm_sseu
+ * Sub-category: Power management
+ * Category: Desktop client
+ * Functionality: sseu
  * Run type: FULL
  *
  * SUBTEST: full-enable
diff --git a/tests/intel/i915_power.c b/tests/intel/i915_power.c
index ee00cbcd8..0f083b375 100644
--- a/tests/intel/i915_power.c
+++ b/tests/intel/i915_power.c
@@ -13,6 +13,9 @@
  * Feature: hwmon
  * Run type: FULL
  * Test category: GEM_Legacy
+ * Sub-category: Power management
+ * Category: Desktop client
+ * Functionality: hwmon
  *
  * SUBTEST: sanity
  * Description: Sanity check gpu power measurement
diff --git a/tests/intel/i915_suspend.c b/tests/intel/i915_suspend.c
index 4ee815031..ba758c42b 100644
--- a/tests/intel/i915_suspend.c
+++ b/tests/intel/i915_suspend.c
@@ -46,9 +46,12 @@
 #include "igt_device_scan.h"
 /**
  * TEST: i915 suspend
- * Feature: suspend
+ * Feature: suspend feature
  * Functionality: s2idle w/o i915
  * Test category: suspend
+ * Functionality: suspend
+ * Sub-category: Power management
+ * Category: Desktop client
  * Run type: FULL
  *
  * SUBTEST: basic-s2idle-without-i915
@@ -66,16 +69,16 @@
  * SUBTEST: debugfs-reader-hibernate
  *
  * SUBTEST: fence-restore-tiled2untiled
- * Feature: gtt, suspend, synchronization
+ * Feature: gtt, suspend feature, synchronization
  *
  * SUBTEST: fence-restore-tiled2untiled-hibernate
- * Feature: gtt, suspend, synchronization
+ * Feature: gtt, suspend feature, synchronization
  *
  * SUBTEST: fence-restore-untiled
- * Feature: gtt, suspend, synchronization
+ * Feature: gtt, suspend feature, synchronization
  *
  * SUBTEST: fence-restore-untiled-hibernate
- * Feature: gtt, suspend, synchronization
+ * Feature: gtt, suspend feature, synchronization
  *
  * SUBTEST: forcewake
  * Description: Test to prevent GT from suspend by opening forcewake handle
-- 
2.34.1



More information about the igt-dev mailing list