[Mesa-dev] [PATCH 2/3] egl/platform/drm: Don't take display ownership until gbm is initialized

Adam Jackson ajax at redhat.com
Thu May 4 17:02:52 UTC 2017


On Thu, 2017-05-04 at 13:00 +0100, Emil Velikov wrote:
> On 3 May 2017 at 16:57, Adam Jackson <ajax at redhat.com> wrote:
> > If the gbm_create_device() call here actually did fail, any
> > subsequent
> > eglTerminate on the display would segfault.
> > 
> 
> We do have a couple of checks after we set own_device, although both
> are close to impossible to trigger.
> 
> Cc: <mesa-stable at lists.freedesktop.org>
> Reviewed-by: Emil Velikov <emli.velikov at collabora.com>

Merged these two, thanks.

- ajax


More information about the mesa-dev mailing list