EXA EnableDisableFBAccess paths.

Dave Airlie airlied at redhat.com
Wed Apr 15 18:03:11 PDT 2009


I think we have a problem with the EnableDisableFBAccess paths,
but I'm not 100% sure how to fix it. However I don't believe the
swapped out flag should be hit for driver pixmaps at all.

The problem is on VT enter, the wrapped EDFBA function, does an 
if (set_disable) disable, call wrap, if (set_enabled) enable, however inside
the call wrap we get an exposure generation and we end up doing a bunch
of pointless sw rendering when clearly we could avoid it.

But I'm not sure what the logic behind the wrap calling sequence.

I've attached a patch that avoids hitting swapped out flag for driver pixmaps
and this makes fast user switch on radeon/kms actually fast.

Dave.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-exa-avoid-offscreen-pixmap-swapped-out-flag-for-dri.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20090416/9df69dd4/attachment.bin 


More information about the xorg-devel mailing list