[igt-dev] [PATCH] tests/kms_setmode: Add info as comment for valid scenario

Jeevan B jeevan.b at intel.com
Wed Sep 20 06:08:44 UTC 2023


Describe the valid scenario for 'basic-clone-single-crtc' and
'basic-clone-single-crtc' tests, as these tests are skipped if
a valid scenario is not found, which can cause confusion during
bug analysis.

Signed-off-by: Jeevan B <jeevan.b at intel.com>
cc: Swati Sharma <swati2.sharma at intel.com>
---
 tests/kms_setmode.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/kms_setmode.c b/tests/kms_setmode.c
index 32a6fb690..752951b85 100644
--- a/tests/kms_setmode.c
+++ b/tests/kms_setmode.c
@@ -979,6 +979,11 @@ const char *help_str =
 	"  -t <test id>\tRun only the test with this id\n"
 	"  -e \t\tExtend to run on all pipes. (By default tests will run on two pipes only)\n";
 
+/* basic-clone-single-crtc allows using a single CRTC for two connectors, such
+ * as VGA and HDMI. Similarly, invalid-clone-exclusive-crtc deals with invalid
+ * configurations where each connector uses its own incompatible CRTC.
+ */
+
 igt_main_args("det:", NULL, help_str, opt_handler, NULL)
 {
 	const struct {
-- 
2.25.1



More information about the igt-dev mailing list