[igt-dev] [PATCH] tests/kms_setmode: Update test description

Jeevan B jeevan.b at intel.com
Wed Sep 27 08:51:44 UTC 2023


Update test description 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>
Reviewed-by: Swati Sharma <swati2.sharma at intel.com>
---
 tests/kms_setmode.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/tests/kms_setmode.c b/tests/kms_setmode.c
index 32a6fb690..3caf90447 100644
--- a/tests/kms_setmode.c
+++ b/tests/kms_setmode.c
@@ -46,8 +46,8 @@
  * Test category: functionality test
  *
  * SUBTEST: basic-clone-single-crtc
- * Description: Tests the mode by cloning the single crtc by iterating through all
- *              valid crtc/connector combinations
+ * Description: This test allows the use of a single CRTC for two connectors, such as VGA/HDMI,
+ *		VGA/DP, and HDMI/HDMI, which are the possible combinations.
  * Driver requirement: i915, xe
  * Functionality: kms_core
  * Mega feature: General Display Features
@@ -62,8 +62,8 @@
  * Test category: functionality test
  *
  * SUBTEST: invalid-clone-exclusive-crtc
- * Description: Tests the mode by cloning the exclusive crtc by iterating through
- *              all invalid crtc/connector combinations
+ * Description: This test is allowed when a connector uses a CRTC that is not compatible with the
+ *		connector, for instance, DP/HDMI can be used on certain pipes on old platforms.
  * Driver requirement: i915, xe
  * Functionality: kms_core
  * Mega feature: General Display Features
@@ -979,6 +979,7 @@ 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";
 
+
 igt_main_args("det:", NULL, help_str, opt_handler, NULL)
 {
 	const struct {
-- 
2.25.1



More information about the igt-dev mailing list