[Mesa-dev] [PATCH 00/13] egl: gbm: Misc cleanups and robustness patches

Rob Herring robh at kernel.org
Mon May 22 18:13:43 UTC 2017


On Thu, May 11, 2017 at 1:57 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Hi all,
>
> I was around the EGL/GBM codebase and I've noticed that we do a few
> things, rather badly:
>  - we have unnessesary layer of abstraction in GBM like the following
> gbm_dri_foo -> gbm_drm_foo -> gbm_foo
>  - the teardown path of platform_foo initialize is in bad shape
> Destroying someone else's dri screen, leaks etc.
>  - gbm copies a bunch of EGL's extension management
> Every so often we have to add DRI extension foo to GBM to align with
> EGL.
>
> The lot can be found in branch 'egl-gbm-less-copy' at
> https://github.com/evelikov/Mesa
>
> I've gone through the DRM/GBM, wayland and X11 platforms - both hardware
> and swrast based.
>
> Extra testong on different platforms will still be appreciated.

With the 1 goto I pointed out fixed,

Tested-by: Rob Herring <robh at kernel.org>


More information about the mesa-dev mailing list