Re: [PATCH v4 0/3] Add support of dmabuf in wayland/weston

2014-01-10 Thread Rob Clark
On Fri, Jan 10, 2014 at 9:58 AM, Rob Clark wrote: > I suspect that this is somehow on the same level as wl_drm (which is > in mesa, not wayland). The difference here is that since you can > share buffers with various things (video codecs, cameras, etc), ie. > things beyond just the gpu, it makes

Re: [PATCH v4 0/3] Add support of dmabuf in wayland/weston

2014-01-10 Thread Rob Clark
I suspect that this is somehow on the same level as wl_drm (which is in mesa, not wayland). The difference here is that since you can share buffers with various things (video codecs, cameras, etc), ie. things beyond just the gpu, it makes sense to put the protocol in some sort of common place rath

Re: [PATCH v4 0/3] Add support of dmabuf in wayland/weston

2014-01-07 Thread Jasper St. Pierre
Sorry if this was discussed before, but any reason this is being put in Wayland, and in the "wl_" namespace? DMA-BUF is a private Linux kernel feature that's really semi-stable, not used by all drivers, and I'd hate for it to bit-rot and tell people not to use it, the same way wl_shell went. Having

[PATCH v4 0/3] Add support of dmabuf in wayland/weston

2014-01-07 Thread benjamin . gaignard
From: Benjamin Gaignard The goal of this serie of patches is to add a way to use dmabuf file descriptor inside wayland and weston. In a context where there is no Mesa EGL (and so no wl_drm protocol) wl_dmabuf could be used as an alternative to shm to share buffers between hardware devices. If yo