public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_chamelium: fix missing reprobe_connector
@ 2019-09-04  8:32 Simon Ser
  2019-09-04  8:35 ` Arkadiusz Hiler
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Simon Ser @ 2019-09-04  8:32 UTC (permalink / raw)
  To: igt-dev

A reprobe_connector has been mungled by mistake in a previous patch. The old
connector status was used, which always failed because it's asserted to be
DRM_MODE_CONNECTED before the unplug.

Signed-off-by: Simon Ser <simon.ser@intel.com>
Fixes: 87209d8421ea ("tests/kms_chamelium: chatty connector status assertions")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111407
---
 tests/kms_chamelium.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c
index d6aec8b97eb2..6b6292497cd7 100644
--- a/tests/kms_chamelium.c
+++ b/tests/kms_chamelium.c
@@ -271,6 +271,7 @@ test_basic_hotplug(data_t *data, struct chamelium_port *port, int toggle_count)
 		chamelium_unplug(data->chamelium, port);
 		igt_assert_f(igt_hotplug_detected(mon, HOTPLUG_TIMEOUT),
 			     "Timed out waiting for unplug uevent\n");
+		status = reprobe_connector(data, port);
 		igt_assert_f(status == DRM_MODE_DISCONNECTED,
 			     "Invalid connector status after hotplug: "
 			     "got %s, expected disconnected\n",
--
2.23.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-04 10:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-04  8:32 [igt-dev] [PATCH i-g-t] tests/kms_chamelium: fix missing reprobe_connector Simon Ser
2019-09-04  8:35 ` Arkadiusz Hiler
2019-09-04  9:11 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-09-04 10:44 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox