summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima
diff options
context:
space:
mode:
authorDmitry Osipenko <dmitry.osipenko@collabora.com>2023-05-30 00:39:34 +0200
committerDmitry Osipenko <dmitry.osipenko@collabora.com>2023-06-21 19:22:20 +0200
commit8021fa16b7ec0a3b0457dc15484a7691f99265bc (patch)
tree8a703514884bca6446b0ecf6139e8b55d8ef268a /drivers/gpu/drm/lima
parentdrm: Don't assert held reservation lock for dma-buf mmapping (diff)
downloadlinux-8021fa16b7ec0a3b0457dc15484a7691f99265bc.tar.xz
linux-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 <christian.koenig@amd.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230529223935.2672495-6-dmitry.osipenko@collabora.com
Diffstat (limited to 'drivers/gpu/drm/lima')
0 files changed, 0 insertions, 0 deletions