summaryrefslogtreecommitdiff
path: root/tests/testdisplay_hotplug.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2016-01-14 14:03:53 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2016-01-26 09:32:43 -0800
commite28acefc5c22b41e3f141ca959c8f96cd16feb47 (patch)
treeb59a00df139b759101239464f20b6ed1271bc976 /tests/testdisplay_hotplug.c
parente2c9a023f2f76db04b94dae64e14ad37e0210b46 (diff)
lib/igt_kms, tests/testdisplay: allow probing of new connector modes
Fixup some fallout from the connector probing changes so testdisplay -m will pick up newly hotplugged displays correctly. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org.
Diffstat (limited to 'tests/testdisplay_hotplug.c')
-rw-r--r--tests/testdisplay_hotplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdisplay_hotplug.c b/tests/testdisplay_hotplug.c
index 9d113999..3b900ca4 100644
--- a/tests/testdisplay_hotplug.c
+++ b/tests/testdisplay_hotplug.c
@@ -59,7 +59,7 @@ static gboolean hotplug_event(GIOChannel *source, GIOCondition condition,
if (memcmp(&s.st_rdev, &udev_devnum, sizeof(dev_t)) == 0 &&
hotplug && atoi(hotplug) == 1)
- update_display();
+ update_display(true);
udev_device_unref(dev);
out: