Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kunal Joshi <kunal1.joshi@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: jeevan.b@intel.com, Kunal Joshi <kunal1.joshi@intel.com>
Subject: [PATCH i-g-t] tests/chamelium/kms_chamelium_hpd: don't unplug multiple times
Date: Mon, 16 Dec 2024 14:05:56 +0530	[thread overview]
Message-ID: <20241216083556.1996857-1-kunal1.joshi@intel.com> (raw)

chamelium_reset_state will unplug all the ports,
prevent unplugging multiple times

Fixes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/3505
Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com>
Reviewed-by: Jeevan B <jeevan.b@intel.com>
---
 tests/chamelium/kms_chamelium_hpd.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/chamelium/kms_chamelium_hpd.c b/tests/chamelium/kms_chamelium_hpd.c
index 52e758087..76a691043 100644
--- a/tests/chamelium/kms_chamelium_hpd.c
+++ b/tests/chamelium/kms_chamelium_hpd.c
@@ -329,10 +329,6 @@ static void test_hotplug_for_each_pipe(chamelium_data_t *data,
 			      data->ports, data->port_count);
 
 	igt_hpd_storm_set_threshold(data->drm_fd, 0);
-	/* Disconnect if any port got connected */
-	chamelium_unplug(data->chamelium, port);
-	chamelium_wait_for_connector_after_hotplug(data, mon, port,
-						   DRM_MODE_DISCONNECTED);
 
 	for_each_pipe(&data->display, pipe) {
 		igt_modeset_disable_all_outputs(&data->display);
-- 
2.25.1


             reply	other threads:[~2024-12-16  8:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-16  8:35 Kunal Joshi [this message]
2024-12-16  8:34 ` ✗ GitLab.Pipeline: warning for tests/chamelium/kms_chamelium_hpd: don't unplug multiple times Patchwork
2024-12-16  8:56 ` ✓ i915.CI.BAT: success " Patchwork
2024-12-16  9:31 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-16 11:04 ` ✗ i915.CI.Full: failure " Patchwork
2024-12-16 11:51 ` ✗ Xe.CI.Full: " Patchwork
2024-12-16 12:37 ` 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=20241216083556.1996857-1-kunal1.joshi@intel.com \
    --to=kunal1.joshi@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jeevan.b@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