[Mesa-dev] [RFC 00/22] DRI3 v1.1, ANV dmabuf

Chad Versace chad at kiwitree.net
Tue Jun 13 10:28:45 UTC 2017


On Thu 08 Jun 2017, Daniel Stone wrote:
> Hi,
> With full support for modifiers in DRIimage, this patch series adds
> support for fully plumbing them through X11. A patchset proposing
> an extension to DRI3 to support multiple planes and modifiers can
> be found here:
> https://lists.x.org/archives/xorg-devel/2017-June/053854.html
> 
> The Git trees, all of which are using the wip/2017-05/dri3-v1.1 branch,
> can be found here:
> 
> git://git.collabora.com/git/user/daniels/xcb-proto
>   - contains support for lists of FDs, as well as the protocol itself
> git://git.collabora.com/git/user/daniels/libxcb
>   - support for lists of FDs
> git://git.collabora.com/git/user/daniels/dri3proto
>   - what it says on the box
> git://git.collabora.com/git/user/daniels/mesa
>   - this patchset, as well as the previous to enable modifier
>     import/queries on i965:
>     https://lists.freedesktop.org/archives/mesa-dev/2017-June/158092.html
> git://git.collabora.com/git/user/daniels/xserver
>   - X server support (note: has rough edges)
> 
> This has been tested on Skylake, where it gained Y-tiling support when
> running EGL, GLX, and Vulkan clients under a composited X11 environment
> (and for the output of the compositor itself). CCS support also worked
> as the multi-plane testbed, but I've dropped that part of the patchset
> as Jason has taken it over.
> 
> Note that this currently breaks RADV: I'm not entirely sure what the
> best way to get a clean transition path there is.
> 
> Most of the DRI3 work was done by Louis-Francis Ratté-Boulianne; the
> ANV work was taken from Chad Versace's tree, rebased and bulked up
> slightly to support DRI3 v1.1. Thanks also to Intel for sponsoring this
> work.

Hi Daniel, I resumed work on the VK_MESAX_external extensions earlier
today, before noticing you had sent out this patch series. (My baby has
had fever since Thursday, so I haven't exactly been attentive to
mesa-dev).  I pushed an updated branch [1] of the draft extension spec
that resolves some major issues with its API; namely, how the API
manages planar images and auxiliary surfaces.

Thanks for pushing the dma_buf work forward for Mesa, Anvil, and EGL.
I'll take a closer look at the patches later today, after getting some
sleep (it's 3:30am here).

[1]: https://github.com/chadversary/vulkan-spec/tree/wip/1.0-VK_MESAX_external


More information about the mesa-dev mailing list