Re: [Piglit] [PATCH] piglit_drm_dma_buf: fix the stride

2017-06-19 Thread Marek Olšák
On Mon, Jun 19, 2017 at 6:06 PM, Eric Anholt wrote: > Marek Olšák writes: > >> From: Marek Olšák >> >> dst_stride is from gbm_bo_map (CPU mapping), but we need the real stride. >> This fixes piglit DMABUF tests with tiled surfaces. > > If

Re: [Piglit] [PATCH] piglit_drm_dma_buf: fix the stride

2017-06-19 Thread Eric Anholt
Marek Olšák writes: > From: Marek Olšák > > dst_stride is from gbm_bo_map (CPU mapping), but we need the real stride. > This fixes piglit DMABUF tests with tiled surfaces. If you also update the dst_strides used in buf->offset/stride fields of the switch

[Piglit] [PATCH] piglit_drm_dma_buf: fix the stride

2017-06-17 Thread Marek Olšák
From: Marek Olšák dst_stride is from gbm_bo_map (CPU mapping), but we need the real stride. This fixes piglit DMABUF tests with tiled surfaces. --- tests/util/piglit-framework-gl/piglit_drm_dma_buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git