summaryrefslogtreecommitdiff
path: root/lib/igt_chamelium.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@linux.intel.com>2017-07-18 18:16:27 +0300
committerLyude <lyude@redhat.com>2017-07-18 16:16:12 -0400
commitfb1ddc47003ad6a683db79beeb81b6cbab1feb7c (patch)
tree76fb37b85fa9e1fcb6a9758e2510546d5bee92cc /lib/igt_chamelium.c
parenta9443945380f34b47433c2be1b163504018b6f3f (diff)
tests/chamelium: Catch and flush hotplug uevents after each plug
This adds calls to igt_hotplug_detected and igt_flush_hotplugs to catch and flush hotplugs from connector unplug (due to chamelium reset) and plug. These need to be intercepted so that they are not delayed and issued after resume, providing a false positive for the test result. In addition, the final hotplug uevent flush is brought closer to the suspend call, to decrease the likeliness of false positive. However, false positives still do happen, because it is not possible to make sure that the uevent caused by each connector's state change was caught instead of being delayed and issued at resume time. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@linux.intel.com> Reviewed-by: Lyude <lyude@redhat.com>
Diffstat (limited to 'lib/igt_chamelium.c')
0 files changed, 0 insertions, 0 deletions