[PATCH 4/5] xfree86: vgaarb: fix device decoding interface to send resources type properly

Vignatti Tiago (Nokia-D/Helsinki) tiago.vignatti at nokia.com
Thu Jun 3 02:47:20 PDT 2010

On Thu, Jun 03, 2010 at 11:42:18AM +0200, ext Mark Kettenis wrote:
> > From: Tiago Vignatti <tiago.vignatti at nokia.com>
> > Date: Thu,  3 Jun 2010 11:34:13 +0300
> > 
> > Right now, when there is more than one vide card on the machine, we're
> > adopting a pessimistic approach and setting all cards to decode VGA legacy
> > address.
> > 
> > Some cards may want to skip the arbitration and the only way to do so is
> > through pci_device_vgaarb_decodes. Therefore, send the desired kind of
> > resource instead force the worst case.
> > 
> > Note that xf86VGAarbiterDeviceDecodes is not being used so far by any
> > open-source driver. Even so, API break.
> Ah, I've wondered about this quite a bit while writing the VGA
> arbitration code for the OpenBSD kernel.  The old interface didn't
> make much sense to me.  I'm a little bit worried though that none of
> the open source drivers uses this yet, since that means it is hard to
> test this bit of code.

So you might be interested in this patch also:


> Reviewed-by: Mark Kettenis <kettenis at openbsd.org>

Thanks for reviewing!


More information about the xorg-devel mailing list