Skip to content
Snippets Groups Projects
Commit 05dba508 authored by KunalJoshi95's avatar KunalJoshi95
Browse files

tests/chamelium/kms_chamelium_hpd: don't unplug multiple times

chamelium_reset_state will unplug all the ports,
prevent unplugging multiple times

Fixes: drm/xe/kernel#3505


Signed-off-by: KunalJoshi95's avatarKunal Joshi <kunal1.joshi@intel.com>
Reviewed-by: default avatarJeevan B <jeevan.b@intel.com>
parent 48a70f67
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment