weston/libweston/backend-drm
Marius Vlad bb55d86300 backend-drm/drm-gbm: gbm_device_destroy on an invalid gbm device
When EGL initialization fails (failure to create a GLES3 or GLES2
context) we will end up calling gbm_device_destroy() twice, once
in init_egl() and once in the drm_backend_create() error path.

Given that we should also take care of properly destroying the gbm
device when we don't have any inputs for instance, mark the gbm device
as NULL to avoid calling gbm_device_destroy() once more when destroying
the DRM-backend.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2022-01-12 13:52:26 +00:00
..
drm-gbm.c backend-drm/drm-gbm: gbm_device_destroy on an invalid gbm device 2022-01-12 13:52:26 +00:00
drm-internal.h backend-drm: Cache fb<->plane format compatibility list 2021-12-08 13:38:18 +00:00
drm-virtual.c Fix indentation all through the project 2021-07-31 15:28:20 +00:00
drm.c backend-drm: Cache fb<->plane format compatibility list 2021-12-08 13:38:18 +00:00
fb.c backend-drm: Cache fb<->plane format compatibility list 2021-12-08 13:38:18 +00:00
kms.c Fix TTY switching after failed failed repaint with legacy mode set. 2021-09-29 12:17:58 +00:00
libbacklight.c backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build libweston/backend/drm: might need EGL 2020-10-26 15:44:34 +01:00
modes.c Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
state-helpers.c backend-drm: Move fb -> buffer reference to plane state 2021-12-08 13:38:18 +00:00
state-propose.c backend-drm: Cache fb<->plane format compatibility list 2021-12-08 13:38:18 +00:00
vaapi-recorder.c drm/vaapi: Fix pointer-size confusion 2021-08-03 11:13:23 +00:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00