Re: [Mesa-dev] [PATCH] radeonsi: Fix si_dma_copy(_tile) for compressed formats

2014-09-11 Thread Michel Dänzer
On 11.09.2014 07:05, Marek Olšák wrote: Sorry, the function is too confusing for me to understand it, but it looks good. Thanks, but unfortunately, it breaks the fbo-generatemipmap-formats test with compressed formats for some reason. Investigating that now. I think it would be cleaner to

Re: [Mesa-dev] [PATCH] radeonsi: Fix si_dma_copy(_tile) for compressed formats

2014-09-10 Thread Marek Olšák
Sorry, the function is too confusing for me to understand it, but it looks good. I think it would be cleaner to convert all parameters of the compressed texture copy into a non-compressed texture copy at the beginning of si_dma_copy, with the box being (x/4, y/4, w/4, h/4), i.e. blitting whole blo

[Mesa-dev] [PATCH] radeonsi: Fix si_dma_copy(_tile) for compressed formats

2014-09-10 Thread Michel Dänzer
From: Michel Dänzer Fixes GPUVM faults when running the piglit test "getteximage-formats init-by-rendering" with R600_DEBUG=forcedma on SI. Signed-off-by: Michel Dänzer --- src/gallium/drivers/radeonsi/si_dma.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/