[PATCH i-g-t 1/2] tests/chamelium/kms_chamelium_hpd: don't unplug multiple times
Kunal Joshi
kunal1.joshi at intel.com
Thu Dec 5 09:40:51 UTC 2024
chamelium_reset_state will unplug all the ports,
prevent unplugging multiple times
Signed-off-by: Kunal Joshi <kunal1.joshi 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 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
More information about the igt-dev
mailing list