Skip to content
Commit 6dca9387 authored by Philipp Zabel's avatar Philipp Zabel Committed by Eric Engestrom
Browse files

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 ceb70a6b ("freedreno: prevent deadlock in error path").

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
parent d55d0804
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment