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.
This commit is contained in:
Jesse Barnes
2016-01-14 14:03:53 -08:00
parent e2c9a023f2
commit e28acefc5c
5 changed files with 67 additions and 14 deletions
+1 -1
View File
@@ -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: