[PATCH 6/8] modesetting: Only handle hotplug uevent when vtSema
Keith Packard
keithp at keithp.com
Fri Dec 5 08:46:02 PST 2014
Daniel Martin <consume.noise at gmail.com> writes:
> 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.
Do you have an updated version of this patch?
--
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/20141205/f61136d6/attachment-0001.sig>
More information about the xorg-devel
mailing list