xf86-video-savage: (2/2) Implement AGPforXv option

Alex Villací­s Lasso a_villacis at palosanto.com
Tue Dec 30 09:36:29 PST 2008

This patch adds the capability to place YV12 data in AGP memory while it 
is being converted to packed YUY2. The single most expensive operation 
in XVideo rendering on savage (on current implementation) is the upload 
to the framebuffer. By placing YV12 data in an AGP buffer, the CPU saves 
itself the work of going through the PCI bus. From benchmarks, this 
method cuts the upload overhead by up to 25% compared to the 
framebuffer-upload implementation. An option (AGPforXv) has been added 
to enable this behavior conditionally (disabled by default). Please 
review and comment on this.

* Allow YV12 planar data to reside in AGP memory
* Add AGPforXv switch for enabling/disabling implemented behavior
* Update manual to document AGPforXv switch
* Add explanation of limitations of BCI conversion

perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Implement-the-AGPforXv-option-2.patch
Type: text/x-patch
Size: 14163 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20081230/4d3c3fe4/attachment.bin>

More information about the xorg mailing list