[Mesa-dev] [PATCH] i965: implement (un)mapImage

Emil Velikov emil.l.velikov at gmail.com
Wed Nov 8 17:18:14 UTC 2017


Hi Julien,

On 8 November 2017 at 16:55, Julien Isorce <julien.isorce at gmail.com> wrote:
> v2: add early return if (flag & MAP_INTERNAL_MASK)
>
> Already implemented for Gallium drivers.
>
> Useful for gbm_bo_(un)map.
>
> Tested by porting wayland/weston/clients/simple-dmabuf-drm.c to GBM.
>
Ben did a slightly different implementation a while back [1], but it
never got merged due to shortage of review.
Glad to see some interest on the topic.

On the testing side - the ext_image_dma_buf_import piglit tests +
kmscube should help, alongside your weston* case.

HTH
Emil

[1] https://lists.freedesktop.org/archives/mesa-dev/2017-April/152646.html


More information about the mesa-dev mailing list