Hi Julien,

On 8 November 2017 at 16:55, Julien Isorce <[email protected]> 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
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to