drm/etnaviv
Philipp Zabel 6dca9387d2 etnaviv: prevent deadlock in error path
If drmPrimeFDToHandle fails in etna_bo_from_dmabuf, the function must
not return with the table_lock mutex held. Unlock the mutex in the error
path.

Based on ceb70a6b10 ("freedreno: prevent deadlock in error path").

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
2017-09-14 10:36:07 +01:00
..
Android.mk android: introduce Android.common.mk to reduce boilerplate 2017-01-27 15:48:16 +00:00
Makefile.am libdrm: add etnaviv drm support 2016-09-17 15:05:25 +02:00
Makefile.sources libdrm: add etnaviv drm support 2016-09-17 15:05:25 +02:00
etnaviv-symbol-check etnaviv: add fence fd support 2017-04-12 11:58:38 +02:00
etnaviv_bo.c etnaviv: prevent deadlock in error path 2017-09-14 10:36:07 +01:00
etnaviv_bo_cache.c libdrm: add etnaviv drm support 2016-09-17 15:05:25 +02:00
etnaviv_cmd_stream.c etnaviv: submit full struct drm_etnaviv_gem_submit 2017-07-06 20:46:27 +02:00
etnaviv_device.c etnaviv: add API to create etna_device from private dup() fd 2016-11-20 15:58:28 +01:00
etnaviv_drm.h etnaviv: sync uapi header 2017-04-12 11:58:33 +02:00
etnaviv_drmif.h etnaviv: add fence fd support 2017-04-12 11:58:38 +02:00
etnaviv_gpu.c etnaviv: remove struct etna_specs 2017-04-01 17:12:02 +02:00
etnaviv_pipe.c etnaviv: add etna_pipe_wait_ns(..) 2016-11-24 20:08:50 +01:00
etnaviv_priv.h etnaviv: remove struct etna_specs 2017-04-01 17:12:02 +02:00
libdrm_etnaviv.pc.in libdrm: add etnaviv drm support 2016-09-17 15:05:25 +02:00