Re: [Mesa-dev] [PATCH V2 11/11] Radeonsi: Use dma_copy when possible for si_blit.

2014-05-29 Thread Marek Olšák
On Thu, May 29, 2014 at 8:15 PM, Axel Davy wrote: > On 29/05/2014 13:37, Marek Olšák wrote : > >> Hi Axel, >> >> Could you please describe what "GPU offloading" means? > > It's using a different GPU to render and to display. > > Basically the gpu offloading support added by the patches is similar

Re: [Mesa-dev] [PATCH V2 11/11] Radeonsi: Use dma_copy when possible for si_blit.

2014-05-29 Thread Axel Davy
On 29/05/2014 13:37, Marek Olšák wrote : Hi Axel, Could you please describe what "GPU offloading" means? It's using a different GPU to render and to display. Basically the gpu offloading support added by the patches is similar to enduro. Some checks can be modified to: info->src.box.width >

Re: [Mesa-dev] [PATCH V2 11/11] Radeonsi: Use dma_copy when possible for si_blit.

2014-05-29 Thread Marek Olšák
Hi Axel, Could you please describe what "GPU offloading" means? Some checks can be modified to: info->src.box.width > 0 && info->src.box.height > 0 && ... resource->nr_samples <= 1 You don't have to check if the box depth equals 1. You just need to make sure the box depths are equal to each oth

[Mesa-dev] [PATCH V2 11/11] Radeonsi: Use dma_copy when possible for si_blit.

2014-05-28 Thread Axel Davy
This improves GLX DRI3 Gpu offloading significantly on cpu bound benchmarks particularly. No performance impact for DRI2 Gpu offloading. v2: Add missing tests Signed-off-by: Axel Davy --- src/gallium/drivers/radeonsi/si_blit.c | 20 1 file changed, 20 insertions(+) diff --