[PATCH xserver 0/7] modesetting - more stable MST hotpluging
Daniel Martin
consume.noise at gmail.com
Mon Nov 20 10:02:03 UTC 2017
This patchset handles hotpluging of MST connectors. They can be fun,
especially if we aren't active (VT switched away) and vanish + reappear.
- We have to check for uevents on EnterVT, otherwise we may work with
outdated output_ids leading to a failing drmmode_set_mode_major() and
tear the server down.
- We have to compare the PATH if available, as the output_id is
unreliable.
- We have to make sure, we don't throw zero outputs to configure into
drmModeSetCrtc() as this will fail and tear down the server.
Thanks,
Daniel
Daniel Martin (7):
modesetting: Check for uevents on EnterVT
modesetting: Store info to identify a connector
modesetting: Compare connector info to identify outputs
modesetting: Check mode in drmmode_set_mode_major() first
modesetting: Fix server crash on failing modeset
modesetting: Check for vanished outputs after updating output ids
modesetting: Squash link-status check into output re-evaluation loop
hw/xfree86/drivers/modesetting/driver.c | 2 +-
hw/xfree86/drivers/modesetting/drmmode_display.c | 384 ++++++++++++++---------
hw/xfree86/drivers/modesetting/drmmode_display.h | 4 +
3 files changed, 235 insertions(+), 155 deletions(-)
--
2.13.6
More information about the xorg-devel
mailing list