[Mesa-dev] [PATCH] vc4: Don't advertise tiled dmabuf modifiers if we can't use them

Eric Anholt eric at anholt.net
Thu Oct 5 18:28:19 UTC 2017


Derek Foreman <derekf at osg.samsung.com> writes:

> If the DRM_VC4_GET_TILING ioctl isn't present then we can't tell
> if a dmabuf bo is tiled or linear, so will always assume it's
> linear.
>
> By not advertising tiled formats in this situation we ensure the
> assumption is correct.
>
> This fixes a bug where most attempts to render a gl wayland client
> under weston will result in a client side abort.

Reviewed and pushed with daniels's ack.
-------------- 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/mesa-dev/attachments/20171005/4efc52e7/attachment.sig>


More information about the mesa-dev mailing list