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

Daniel Martin consume.noise at gmail.com
Mon Dec 1 22:48:58 PST 2014


On Sun, Nov 30, 2014 at 01:27:18PM -0800, Keith Packard wrote:
> 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.

First, I had changes to merge the other bools (sw_cursor, shadow_enable,
...) into the flags member. But, this seemed to be to invasive for the
"bugfixes only" state and I removed those changes.

I'll make it a bool too.

> Otherwise, this looks good to me.
> 
> -- 
> keith.packard at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141202/df08a520/attachment.sig>


More information about the xorg-devel mailing list