Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/kms_pm_lpsp: Add display version check on external panel
@ 2024-09-30 18:18 Mohammed Thasleem
  2024-09-30 22:17 ` ✗ CI.xeBAT: failure for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Mohammed Thasleem @ 2024-09-30 18:18 UTC (permalink / raw)
  To: igt-dev; +Cc: Mohammed Thasleem

LPSP for external panel support from Gen13+ onwards.
Skip the test if only external panel connected on less
then gen13 platforms.

Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
 tests/intel/kms_pm_lpsp.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/intel/kms_pm_lpsp.c b/tests/intel/kms_pm_lpsp.c
index f9ac508fb..889da42de 100644
--- a/tests/intel/kms_pm_lpsp.c
+++ b/tests/intel/kms_pm_lpsp.c
@@ -227,6 +227,8 @@ igt_main
 		enum pipe pipe;
 
 		for_each_connected_output(display, output) {
+			drmModeConnectorPtr connector = output->config.connector;
+
 			if (!i915_output_is_lpsp_capable(data.drm_fd, output))
 				continue;
 
@@ -238,6 +240,10 @@ igt_main
 				if (pipe != PIPE_A)
 					continue;
 
+				if (connector->connector_type != DRM_MODE_CONNECTOR_eDP)
+					igt_require_f(intel_display_ver(data.devid) >= 13,
+						     "LPSP support on external panel from Gen13+ platform\n");
+
 				data.output = output;
 				data.pipe = pipe;
 
-- 
2.25.1


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

end of thread, other threads:[~2024-10-03 12:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 18:18 [PATCH i-g-t] tests/intel/kms_pm_lpsp: Add display version check on external panel Mohammed Thasleem
2024-09-30 22:17 ` ✗ CI.xeBAT: failure for " Patchwork
2024-09-30 22:29 ` ✓ Fi.CI.BAT: success " Patchwork
2024-10-01  7:36 ` ✗ CI.xeFULL: failure " Patchwork
2024-10-01  8:59 ` ✗ Fi.CI.IGT: " Patchwork
2024-10-03 12:29 ` [PATCH i-g-t] " B, Jeevan

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