Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arun R Murthy <arun.r.murthy@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: kunal1.joshi@intel.com, Arun R Murthy <arun.r.murthy@intel.com>
Subject: [PATCH i-g-t] tests/chamelium/hpd: No need to disconnect at the begining of the test
Date: Thu,  6 Jun 2024 10:31:05 +0530	[thread overview]
Message-ID: <20240606050105.4179950-1-arun.r.murthy@intel.com> (raw)

In the subtest hpd-for-each-pipe unplug/disconnect is done to ensure
that nothing is connected which is not required. The first subtest hpd
doesnt do the same in the begining and disconnect/unplug is done at the
end of each subtest.

Signed-off-by: Arun R Murthy <arun.r.murthy@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 858c595cb..3ad56c71a 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-06-06  5:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06  5:01 Arun R Murthy [this message]
2024-06-06  5:44 ` ✓ Fi.CI.BAT: success for tests/chamelium/hpd: No need to disconnect at the begining of the test Patchwork
2024-06-06  5:55 ` ✓ CI.xeBAT: " Patchwork
2024-06-06 10:16 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-06-06 13:16 ` ✗ CI.xeFULL: " 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=20240606050105.4179950-1-arun.r.murthy@intel.com \
    --to=arun.r.murthy@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kunal1.joshi@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