[PATCH i-g-t] tests/chamelium/hpd: No need to disconnect at the begining of the test

Arun R Murthy arun.r.murthy at intel.com
Thu Jun 6 05:01:05 UTC 2024


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 at 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



More information about the igt-dev mailing list