[PATCH] Respect seat assignments when assigning drm devices to server

Jonathan Dieter jdieter at lesbg.com
Mon Jan 19 07:02:33 PST 2015


Currently xorg ignores the seat assignments for drm devices because the 
devices are initialized earlier in the code.  Depending on race 
conditions, the first X server will get more than one of the drm 
devices, which breaks multiseat systems.

This patch fixes that by rejecting drm devices that haven't been 
assigned to our seat.  The code has been mostly taken from config/udev.c 
and modified.

This patch is against HEAD, but also applies cleanly and has been tested 
against 1.16.2.901.

Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Respect-seat-assignments-when-assigning-drm-devices-.patch
Type: text/x-patch
Size: 2493 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150119/3a726f98/attachment.bin>


More information about the xorg-devel mailing list