Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/kms_psr2_sf: Add eDP check for Early Transport
@ 2024-09-19 17:24 Jeevan B
  2024-09-19 17:35 ` Naladala, Ramanaidu
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Jeevan B @ 2024-09-19 17:24 UTC (permalink / raw)
  To: igt-dev; +Cc: kunal1.joshi, Jeevan B

On current platforms early transport is supported on eDP only
so avoiding assert for other connector.

v2: Add checks to handle crashes and fix typo.

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

diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c
index a9be1a1ec..ca729d558 100644
--- a/tests/intel/kms_psr2_sf.c
+++ b/tests/intel/kms_psr2_sf.c
@@ -935,7 +935,9 @@ static void run(data_t *data)
 							  data->pipe),
 							  "FBC still disabled\n");
 
-	if (data->et_flag)
+	/* TODO: Enable this check if other connectors support Early Transport */
+	if (data->et_flag && data->output != NULL &&
+	    data->output->config.connector->connector_type == DRM_MODE_CONNECTOR_eDP)
 		igt_assert_f(early_transport_check(data->debugfs_fd),
 			     "Early Trasport Disbaled\n");
 
-- 
2.25.1


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

end of thread, other threads:[~2024-09-20 21:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-19 17:24 [PATCH i-g-t] tests/intel/kms_psr2_sf: Add eDP check for Early Transport Jeevan B
2024-09-19 17:35 ` Naladala, Ramanaidu
2024-09-20  2:04 ` ✓ CI.xeBAT: success for " Patchwork
2024-09-20  2:11 ` ✓ Fi.CI.BAT: " Patchwork
2024-09-20  7:03 ` ✗ CI.xeFULL: failure " Patchwork
2024-09-20  8:32   ` B, Jeevan
2024-09-20 21:04 ` ✗ Fi.CI.IGT: " Patchwork

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