[igt-dev] [PATCH i-g-t] tests/testdisplay: Add test description

Swati Sharma swati2.sharma at intel.com
Wed Sep 7 09:43:23 UTC 2022


Added test description. Also, removed extra newlines.

Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
 tests/testdisplay.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index d45a722bf..ee272dfb2 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -69,6 +69,8 @@
 #include <stdlib.h>
 #include <signal.h>
 
+IGT_TEST_DESCRIPTION("Tests basic display functionality.");
+
 enum {
 	OPT_YB,
 	OPT_YF,
@@ -427,7 +429,6 @@ set_stereo_mode(struct connector *c)
 {
 	int i, n;
 
-
 	if (specified_mode_num != -1)
 		n = 1;
 	else
@@ -515,7 +516,6 @@ int update_display(bool probe)
 			if (test_preferred_mode || force_mode ||
 			    specified_mode_num != -1)
 				crtc_idx_mask &= ~(1 << connector->pipe);
-
 		}
 	}
 
-- 
2.25.1



More information about the igt-dev mailing list