[PATCH 15/36] xf86dga: handle DGAAvailable for gpu screens.

Dave Airlie airlied at gmail.com
Tue Jul 3 02:33:42 PDT 2012


On Tue, Jul 3, 2012 at 8:51 AM, Dave Airlie <airlied at gmail.com> wrote:
> On Mon, Jul 2, 2012 at 11:52 PM, Keith Packard <keithp at keithp.com> wrote:
>> Adam Jackson <ajax at nwnk.net> writes:
>>
>>> On 7/2/12 6:13 AM, Dave Airlie wrote:
>>
>>> I think anywhere you see a screen number on the wire the safe thing to
>>> do is index protocolscreens not gpuscreens.
>>
>> DGAAvailable is also called from things like xf86SetScrnInfoModes, which
>> seem likely to be called with non-protocol screens though.
>
> Yeah its because of this, its called from a lot of places that aren't
> obviously protocol decoded.

Okay I decided I liked what ajax said anyways, so I've split the api into
one that gets called from protocol decode and one that gets called internally
with a pScreen.

I'll send out a new version.

Dave.
>
> Dave.


More information about the xorg-devel mailing list