[igt-dev] [PATCH i-g-t v2 1/5] tests/i915/i915_pm_dc: Add test description

Swati Sharma swati2.sharma at intel.com
Tue Sep 13 09:34:42 UTC 2022


As a thumb rule, we have test description at top
of the i-g-t. Lets do same for i915_pm_dc too.

Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
Reviewed-by: Imre Deak <imre.deak at intel.com>
---
 tests/i915/i915_pm_dc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/i915/i915_pm_dc.c b/tests/i915/i915_pm_dc.c
index f664a2a2c..40811ae52 100644
--- a/tests/i915/i915_pm_dc.c
+++ b/tests/i915/i915_pm_dc.c
@@ -44,6 +44,8 @@
 #define KMS_HELPER "/sys/module/drm_kms_helper/parameters/"
 #define KMS_POLL_DISABLE 0
 
+IGT_TEST_DESCRIPTION("Tests to validate display power DC states.");
+
 bool kms_poll_saved_state;
 
 typedef struct {
@@ -473,7 +475,6 @@ static void kms_poll_state_restore(int sig)
 	}
 }
 
-IGT_TEST_DESCRIPTION("These tests validate Display Power DC states");
 int main(int argc, char *argv[])
 {
 	data_t data = {};
-- 
2.25.1



More information about the igt-dev mailing list