Re: [Piglit] [PATCH] piglit_drm_dma_buf: fix GPU offsets and strides

2017-06-21 Thread Jan Vesely
On Mon, 2017-06-19 at 16:22 -0700, Eric Anholt wrote: > Marek Olšák writes: > > > From: Marek Olšák > > > > Most of the original code is simply wrong. > > > > This patch makes sure that at least the returned GPU offsets and strides > > are correct. This doesn't fix the incorrect CPU upload pat

Re: [Piglit] [PATCH] piglit_drm_dma_buf: fix GPU offsets and strides

2017-06-19 Thread Eric Anholt
Marek Olšák writes: > From: Marek Olšák > > Most of the original code is simply wrong. > > This patch makes sure that at least the returned GPU offsets and strides > are correct. This doesn't fix the incorrect CPU upload path for non-zero > planes. GBM doesn't seem to have the capability to map

[Piglit] [PATCH] piglit_drm_dma_buf: fix GPU offsets and strides

2017-06-19 Thread Marek Olšák
From: Marek Olšák Most of the original code is simply wrong. This patch makes sure that at least the returned GPU offsets and strides are correct. This doesn't fix the incorrect CPU upload path for non-zero planes. GBM doesn't seem to have the capability to map a specific plane for CPU access. -