[igt-dev] [i-g-t 2/7] tests/i915/kms_pm_backlight: Fix testplan documentation

Bhanuprakash Modem bhanuprakash.modem at intel.com
Wed Aug 23 11:43:49 UTC 2023


As kms_pm_backlight is moved to display, update the test
documentation according to the kms testplan kms_test_config.json

Cc: Swati Sharma <swati2.sharma at intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 tests/i915/kms_pm_backlight.c | 40 ++++++++++++++++++++++++++---------
 1 file changed, 30 insertions(+), 10 deletions(-)

diff --git a/tests/i915/kms_pm_backlight.c b/tests/i915/kms_pm_backlight.c
index ade5539d2..2e8fb4254 100644
--- a/tests/i915/kms_pm_backlight.c
+++ b/tests/i915/kms_pm_backlight.c
@@ -38,29 +38,49 @@
 #include "igt_device.h"
 #include "igt_device_scan.h"
 /**
- * TEST: i915 pm backlight
+ * TEST: kms pm backlight
+ * Category: Display
  * Description: Basic backlight sysfs test
- * Feature: backlight
  *
  * SUBTEST: bad-brightness
- * Description: test the bad brightness.
+ * Description: Test the bad brightness.
+ * Driver requirement: i915
+ * Functionality: backlight
+ * Mega feature: Display Power
  * Run type: FULL
+ * Test category: functionality test
  *
  * SUBTEST: basic-brightness
- * Description: test the basic brightness.
+ * Description: Test the basic brightness.
+ * Driver requirement: i915
+ * Functionality: backlight
+ * Mega feature: Display Power
  * Run type: BAT
+ * Test category: functionality test
  *
  * SUBTEST: fade
- * Description: test basic fade.
- * Run type: FULL
+ * Description: Test basic fade.
+ * Driver requirement: i915
+ * Functionality: backlight
+ * Mega feature: Display Power
+ * Run type: BAT
+ * Test category: functionality test
  *
  * SUBTEST: fade-with-dpms
- * Description: test the fade with DPMS.
- * Run type: FULL
+ * Description: Test the fade with DPMS.
+ * Driver requirement: i915
+ * Functionality: dpms, backlight
+ * Mega feature: Display Power
+ * Run type: BAT
+ * Test category: functionality test
  *
  * SUBTEST: fade-with-suspend
- * Description: test the fade with suspend.
- * Run type: FULL
+ * Description: Test the fade with suspend.
+ * Driver requirement: i915
+ * Functionality: backlight, suspend
+ * Mega feature: Display Power
+ * Run type: BAT
+ * Test category: functionality test
  */
 
 struct context {
-- 
2.40.0



More information about the igt-dev mailing list