[PATCH] VGA arbiter: No need for arbitration around CreateGC.

Vignatti Tiago (Nokia-MS/Helsinki) tiago.vignatti at nokia.com
Wed Jul 14 06:25:26 PDT 2010


On Wed, Jul 14, 2010 at 03:19:11PM +0200, Vignatti Tiago (Nokia-MS/Helsinki) wrote:
> On Wed, Jul 14, 2010 at 12:35:12AM +0200, ext Jamey Sharp wrote:
> > None of XAA, EXA, or UXA do any hardware access during CreateGC, so they
> > don't need VGA arbitration. I haven't found any open source drivers that
> > hook CreateGC, so they're safe. I'd be surprised if any driver directly
> > hooks CreateGC and does hardware access from it and needs VGA
> > arbitration.
> > 
> > Signed-off-by: Jamey Sharp <jamey at minilop.net>
> 
> as discussed already in private: 
> 
>     Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
> 

oops, I forgot to mention that you can remove the entire function wrapping
there, Jamey. Just remove VGAarbiterCreateGC entirely.

Also, if all GC operations don't touch the hw at all for all kind of accel,
then we can extend this patch for the other functions there.


Thanks,
             Tiago


More information about the xorg-devel mailing list