[Piglit] [PATCH] piglit_drm_dma_buf: fix the stride

Eric Anholt eric at anholt.net
Mon Jun 19 16:06:31 UTC 2017


Marek Olšák <maraeo at gmail.com> writes:

> From: Marek Olšák <marek.olsak at 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:

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170619/4570a72a/attachment.sig>


More information about the Piglit mailing list