[Mesa-dev] [PATCH 0/9] DRI Image 7 support for gallium

Axel Davy axel.davy at ens.fr
Sun Dec 1 10:58:37 PST 2013


>Now includes support for Image 6 as a bonus feature, and 7 is only exposed
>on the gallium drivers which support dma-buf import/export.
>
>Still useful for Wayland-Prime and Mir, now also useful for DRI3000

I have tested the last versions of the patches with my radeonsi card,
Keith Packard's patches for DRIImage loader in gallium and my Prime 
Wayland patches.

Whereas with older version of the patches I had issues, that I reported 
on irc or on this mailing list,
the latest series worked fine for me.

Patch 2,3,4,7,8: exporting/importing fd work well with this last version 
on my radeonsi card. I was able to use my dedicated radeonsi card on 
render-nodes under Wayland with my Prime patches and Keith patches for 
the DRIImage loader in gallium (enable to avoid Gem names).

Patch 1: I have tested it with my glamor dri3 helper to convert a glamor 
pixmap to an fd. The implementation rely on EGL_KHR_gl_texture_2D_image, 
which is enabled with this patch. I have not tested though the other 
corner cases (3D texture, etc).
Since Gem names don't work under Render-nodes, I have patched XWayland 
to pass fd instead of Gem names to the Wayland compositor. That's how I 
tested the pixmap->fd glamor dri3 helper with my radeonsi card and this 
series of patches.


Since Thomas Hellstrom is ok with patch 9, and the Nvidia parts (patch 
5, etc) seem to be similar to Ben Skeggs patches in Keith Packard dri3 
tree: http://cgit.freedesktop.org/~keithp/mesa/log/?h=dri3 
<http://cgit.freedesktop.org/%7Ekeithp/mesa/log/?h=dri3>,
and the ilo part looks ok,
I suggest to merge this last series of patches, which seems ready.

Thanks,

Axel Davy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131201/7c928004/attachment.html>


More information about the mesa-dev mailing list