diff options
author | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2023-05-30 01:39:35 +0300 |
---|---|---|
committer | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2023-06-21 20:22:20 +0300 |
commit | 21aa27ddc58269349597c6d243212bcc4065d277 (patch) | |
tree | 70fae75d0ab70c9d114f94d00e647368cc39f1f5 /drivers/gpu/drm/panfrost/panfrost_issues.h | |
parent | 8021fa16b7ec0a3b0457dc15484a7691f99265bc (diff) | |
download | linux-21aa27ddc58269349597c6d243212bcc4065d277.tar.xz |
drm/shmem-helper: Switch to reservation lock
Replace all drm-shmem locks with a GEM reservation lock. This makes locks
consistent with dma-buf locking convention where importers are responsible
for holding reservation lock for all operations performed over dma-bufs,
preventing deadlock between dma-buf importers and exporters.
Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
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-7-dmitry.osipenko@collabora.com
Diffstat (limited to 'drivers/gpu/drm/panfrost/panfrost_issues.h')
0 files changed, 0 insertions, 0 deletions