Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jeevan B <jeevan.b@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: kunal1.joshi@intel.com, Jeevan B <jeevan.b@intel.com>,
	Naladala Ramanaidu <ramanaidu.naladala@intel.com>
Subject: [PATCH] tests/intel/kms_psr2_sf: Add eDP check for Early Transport
Date: Fri, 20 Sep 2024 09:32:06 +0530	[thread overview]
Message-ID: <20240920040206.1206695-1-jeevan.b@intel.com> (raw)

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>
Reviewed-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
---
 tests/intel/kms_psr2_sf.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c
index a9be1a1ec..847f181d3 100644
--- a/tests/intel/kms_psr2_sf.c
+++ b/tests/intel/kms_psr2_sf.c
@@ -935,9 +935,11 @@ 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");
+			     "Early Transport Disabled\n");
 
 	data->screen_changes = 0;
 
-- 
2.25.1


             reply	other threads:[~2024-09-20  3:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-20  4:02 Jeevan B [this message]
2024-09-20  4:23 ` ✗ CI.xeBAT: failure for tests/intel/kms_psr2_sf: Add eDP check for Early Transport (rev2) Patchwork
2024-09-20  4:42   ` B, Jeevan
2024-09-20  4:31 ` ✓ Fi.CI.BAT: success " Patchwork
2024-09-20  9:19 ` ✗ CI.xeFULL: failure " Patchwork
2024-09-20 22:04 ` ✗ Fi.CI.IGT: " Patchwork
2024-09-25 21:30 ` ✗ Fi.CI.BAT: failure for tests/intel/kms_psr2_sf: Add eDP check for Early Transport (rev3) Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240920040206.1206695-1-jeevan.b@intel.com \
    --to=jeevan.b@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kunal1.joshi@intel.com \
    --cc=ramanaidu.naladala@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox