Skip to content
Commit c3301d01 authored by Varad Gautam's avatar Varad Gautam Committed by Rob Clark
Browse files

freedreno: serialize drmPrimeFDToHandle under table_lock



fixes the prime sharing race condition described by
"intel: Serialize drmPrimeFDToHandle with struct_mutex".

we inline fd_bo_from_handle() into fd_bo_from_dmabuf() and allow locking.

Signed-off-by: default avatarVarad Gautam <varadgautam@gmail.com>
Signed-off-by: default avatarRob Clark <robclark@freedesktop.org>
parent cc7db673
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