diff options
| author | Dmitry Osipenko <[email protected]> | 2023-05-29 22:39:34 +0000 |
|---|---|---|
| committer | Dmitry Osipenko <[email protected]> | 2023-06-21 17:22:20 +0000 |
| commit | 8021fa16b7ec0a3b0457dc15484a7691f99265bc (patch) | |
| tree | 8a703514884bca6446b0ecf6139e8b55d8ef268a /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm: Don't assert held reservation lock for dma-buf mmapping (diff) | |
| download | kernel-8021fa16b7ec0a3b0457dc15484a7691f99265bc.tar.gz kernel-8021fa16b7ec0a3b0457dc15484a7691f99265bc.zip | |
dma-buf: Change locking policy for mmap()
Change locking policy of mmap() callback, making exporters responsible
for handling dma-buf reservation locking. Previous locking policy stated
that dma-buf is locked for both importers and exporters by the dma-buf
core, which caused a deadlock problem for DRM drivers in a case of
self-imported dma-bufs which required to take the lock from the DRM
exporter side.
Acked-by: Christian König <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
