[PATCH 6/8] modesetting: Only handle hotplug uevent when vtSema

Keith Packard keithp at keithp.com
Sun Nov 30 13:27:18 PST 2014


Daniel Martin <daniel.martin at secunet.com> writes:

> From: Daniel Martin <consume.noise at gmail.com>
>
> If the uevent isn't a hotplug event, ignore it, and if !vtSema postpone
> the reprobing until EnterVT(). For the latter we add a 'flags' member to
> the drmmode struct.

Don't call it 'flags' if you've only got one boolean; if we get more, we
can figure out later how to change the API to suit.

Otherwise, this looks good to me.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141130/af007367/attachment.sig>


More information about the xorg-devel mailing list