mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 04:42:53 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user