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

Bhanuprakash Modem bhanuprakash.modem at intel.com
Tue Sep 5 12:53:51 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/intel/kms_pm_backlight.c | 40 +++++++++++++++++++++++++---------
 1 file changed, 30 insertions(+), 10 deletions(-)

diff --git a/tests/intel/kms_pm_backlight.c b/tests/intel/kms_pm_backlight.c
index eca385518..7a2a4e06f 100644
--- a/tests/intel/kms_pm_backlight.c
+++ b/tests/intel/kms_pm_backlight.c
@@ -16,29 +16,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