Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/kms_display_modes: Skip test if big joiner display is connected
@ 2024-11-14 18:16 Jeevan B
  2024-11-14 19:24 ` ✓ Fi.CI.BAT: success for tests/kms_display_modes: Skip test if big joiner display is connected (rev2) Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Jeevan B @ 2024-11-14 18:16 UTC (permalink / raw)
  To: igt-dev; +Cc: santhosh.reddy.guddati, Jeevan B

High-resolution displays that support big joiner can cause extended mode
tests to fail. This commit introduces a check to skip these tests if a
big joiner display is connected, ensuring the test suite runs smoothly
without unnecessary failures.

v2: Add ultra joiner check.

Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
 tests/kms_display_modes.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
index f1d8ab03d..eefe4e85e 100644
--- a/tests/kms_display_modes.c
+++ b/tests/kms_display_modes.c
@@ -318,6 +318,14 @@ igt_main
 		igt_display_require_output(&data.display);
 
 		for_each_connected_output(&data.display, output) {
+			drmModeConnector *connector = output->config.connector;
+			drmModeModeInfo mode;
+			int max_dotclock = igt_get_max_dotclock(data.drm_fd);
+
+			igt_require_f(!bigjoiner_mode_found(data.drm_fd, connector, max_dotclock, &mode),
+				      "Big Joiner Connector Found Unsupported Config\n");
+			igt_require_f(!ultrajoiner_mode_found(data.drm_fd, connector, max_dotclock, &mode),
+				      "Ultra Joiner Connector Found Unsupported Config\n");
 			data.mst_output[count++] = output;
 			if (output_is_dp_mst(&data, output, dp_mst_outputs))
 				dp_mst_outputs++;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH i-g-t] tests/kms_display_modes: Skip test if big joiner display is connected
@ 2024-10-29  9:24 Jeevan B
  2024-10-30  2:44 ` Reddy Guddati, Santhosh
  0 siblings, 1 reply; 8+ messages in thread
From: Jeevan B @ 2024-10-29  9:24 UTC (permalink / raw)
  To: igt-dev; +Cc: swati2.sharma, karthik.b.s, Jeevan B

High-resolution displays that support big joiner can cause extended mode
tests to fail. This commit introduces a check to skip these tests if a
big joiner display is connected, ensuring the test suite runs smoothly
without unnecessary failures.

Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
 tests/kms_display_modes.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
index f1d8ab03d..0950cc483 100644
--- a/tests/kms_display_modes.c
+++ b/tests/kms_display_modes.c
@@ -318,6 +318,12 @@ igt_main
 		igt_display_require_output(&data.display);
 
 		for_each_connected_output(&data.display, output) {
+			drmModeConnector *connector = output->config.connector;
+			drmModeModeInfo mode;
+			int max_dotclock = igt_get_max_dotclock(data.drm_fd);
+
+			igt_require_f(!bigjoiner_mode_found(data.drm_fd, connector, max_dotclock, &mode),
+				      "Big Joiner Connector Found Unsupported Config\n");
 			data.mst_output[count++] = output;
 			if (output_is_dp_mst(&data, output, dp_mst_outputs))
 				dp_mst_outputs++;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-11-15 13:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-14 18:16 [PATCH i-g-t] tests/kms_display_modes: Skip test if big joiner display is connected Jeevan B
2024-11-14 19:24 ` ✓ Fi.CI.BAT: success for tests/kms_display_modes: Skip test if big joiner display is connected (rev2) Patchwork
2024-11-14 19:36 ` ✓ CI.xeBAT: " Patchwork
2024-11-15  0:48 ` ✓ Fi.CI.IGT: " Patchwork
2024-11-15  6:21 ` [PATCH i-g-t] tests/kms_display_modes: Skip test if big joiner display is connected Sharma, Swati2
2024-11-15 13:33 ` ✗ CI.xeFULL: failure for tests/kms_display_modes: Skip test if big joiner display is connected (rev2) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-10-29  9:24 [PATCH i-g-t] tests/kms_display_modes: Skip test if big joiner display is connected Jeevan B
2024-10-30  2:44 ` Reddy Guddati, Santhosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox