diff options
author | Simon Ser <simon.ser@intel.com> | 2019-09-04 11:28:21 +0300 |
---|---|---|
committer | Simon Ser <simon.ser@intel.com> | 2019-09-04 16:34:57 +0300 |
commit | 2520686d9f2299a3f2062a88da34747a42e0848d (patch) | |
tree | 1d3530f79ea9f4be85ab148c8b5f8c05e9f4e709 /tests/kms_chamelium.c | |
parent | 86edcea1c49908bf6e9d5f78d55e3586612a17df (diff) |
tests/kms_chamelium: fix missing reprobe_connector
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
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'tests/kms_chamelium.c')
-rw-r--r-- | tests/kms_chamelium.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c index d6aec8b9..6b629249 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", |