[igt-dev] [PATCH 2/2] tests/chamelium/kms_chamelium_hpd: issue disabling modeset when for very plug/unplug cycle

Kunal Joshi kunal1.joshi at intel.com
Wed Mar 15 10:06:57 UTC 2023


It is known issue that we don't get hotplug with enabled
mode on TypeC connector, issue a disabling modeset for
every plug/unplug cycle

Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
---
 tests/chamelium/kms_chamelium_hpd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/chamelium/kms_chamelium_hpd.c b/tests/chamelium/kms_chamelium_hpd.c
index d9718d76..2b17ce29 100644
--- a/tests/chamelium/kms_chamelium_hpd.c
+++ b/tests/chamelium/kms_chamelium_hpd.c
@@ -190,6 +190,7 @@ static void test_hotplug_for_each_pipe(chamelium_data_t *data,
 						   DRM_MODE_DISCONNECTED);
 
 	for_each_pipe(&data->display, pipe) {
+		igt_modeset_disable_all_outputs(&data->display);
 		igt_flush_uevents(mon);
 		/* Check if we get a sysfs hotplug event */
 		chamelium_plug(data->chamelium, port);
-- 
2.25.1



More information about the igt-dev mailing list