On Mon, Jun 19, 2017 at 6:06 PM, Eric Anholt <e...@anholt.net> wrote: > Marek Olšák <mar...@gmail.com> writes: > >> From: Marek Olšák <marek.ol...@amd.com> >> >> 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 (fourcc) down below, you can add:
I'll send out v2. It's more involved. I can fix some obvious things, but I can't fix the function completely. The whole file assumes a linear layout with an unaligned height, which is rare even for a linear layout. Marek _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit