[PATCH] Allocate Xv buffers to GTT.

Michel Dänzer michel at daenzer.net
Mon Feb 15 08:16:11 PST 2010


On Mon, 2010-02-15 at 13:40 +0200, Pauli Nieminen wrote: 
> KMS doesn't have acceleration for upload to vram. memcpy/memmove to VRAM
> directly is very slow (40M/s in benchmark) which causes visible problems
> to video.
> 
> Allocating video buffer in GTT will give good performance (350-450M/s)
> for memmove operation. This is nice performance boost for Xv under KMS.
> 
> Signed-off-by: Pauli Nieminen <suokkos at gmail.com>

I've pushed this patch (with a followup change to allocate the 'video
offscreen' and 'TV-in' BOs in VRAM) and the memcpy patch (with
whitespace fixed up - please be more careful wrt this in the future).

Thanks!


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-driver-ati mailing list