[Mesa-dev] [PATCH] r600g, radeonsi: add debug option which forces DMA for copy_region and blit

Axel Davy axel.davy at ens.fr
Mon Sep 8 12:07:21 PDT 2014


On 08/09/2014 20:21, Grigori Goronzy wrote :
> On 08.09.2014 14:50, Axel Davy wrote:
>> Hi,
>>
>> When reading si_dma.c code, it looks like the requested width of the
>> copy is ignored except for PIPE_BUFFER.
>> Perhaps that explains the bugs observed ?
>>
> It isn't ignored. Partial DMA copies (i.e. operations that do not copy
> whole lines) are simply not supported right now, and will fall back to
> resource_copy_region. In fact, it's even stricter: the picthes of source
> and destination have to match.
>
> Grigori
My point is I don't see a check to verify the width of the copy equals 
the width of the buffers,
even if I see the pitch test.

Axel


More information about the mesa-dev mailing list