On Mon, Jun 19, 2017 at 6:06 PM, Eric Anholt <[email protected]> wrote: > Marek Olšák <[email protected]> writes: > >> From: Marek Olšák <[email protected]> >> >> 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 [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
