[PATCH] Allocate Xv buffers to GTT.
Alex Deucher
alexdeucher at gmail.com
Mon Feb 15 08:29:44 PST 2010
2010/2/15 Michel Dänzer <michel at daenzer.net>:
> 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).
>
We don't support TV-in or the overlay with KMS, so they should be fine
either way.
Alex
> Thanks!
>
>
> --
> Earthling Michel Dänzer | http://www.vmware.com
> Libre software enthusiast | Debian, X and DRI developer
> _______________________________________________
> xorg-driver-ati mailing list
> xorg-driver-ati at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-driver-ati
>
More information about the xorg-driver-ati
mailing list