[PATCH weston] simple-dmabuf-drm: use GBM generic calls

Guido G√ľnther agx at sigxcpu.org
Wed Jul 11 09:16:33 UTC 2018


Hi,
On Tue, Jul 10, 2018 at 05:53:15PM +0200, Emilio Pozuelo Monfort wrote:
> No need to write libdrm driver specific code for each supported
> driver, we can just let GBM call the right one for us now.
> 
> Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo at collabora.co.uk>
> ---
> 
> Hi,
> 
> This simplifies the code a lot, using gbm_bo as Emil suggested. Some problems
> I still see:
> 
> - NV12 doesn't work, it seems that backends/dri/gbm_dri.c:gbm_format_to_dri_format()
>   doesn't support it.

Simple means of testing NV12 is a useful feature so it'd be sad to see
that go. Using weston-simple-dmabuf-v4l is much more involved as it
requires more setup.

Cheers,
 -- Guido


More information about the wayland-devel mailing list