commit | c3301d013444b7b5d02c58307e188e292d8cf18a | [log] [tgz] |
---|---|---|
author | Varad Gautam <varadgautam@gmail.com> | Sun Aug 30 15:30:58 2015 +0530 |
committer | Rob Clark <robclark@freedesktop.org> | Mon Aug 31 11:54:23 2015 -0400 |
tree | 6d1de0f54f39e0dde332e6f6caba4aa9d1d8b969 | |
parent | cc7db673fabb77cf8bb9a00dcb0864c4b125ab6f [diff] |
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: Varad Gautam <varadgautam@gmail.com> Signed-off-by: Rob Clark <robclark@freedesktop.org>