diff options
author | 2022-03-21 03:35:41 +0300 | |
---|---|---|
committer | 2023-02-27 07:10:56 +0300 | |
commit | 67b7836d4458790f1261e31fe0ce3250989784f0 (patch) | |
tree | e3b6a5fa97ca607ab09dedf4ec74a235a7f96e39 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | drm/shmem-helper: Don't use vmap_use_count for dma-bufs (diff) | |
download | wireguard-linux-67b7836d4458790f1261e31fe0ce3250989784f0.tar.xz wireguard-linux-67b7836d4458790f1261e31fe0ce3250989784f0.zip |
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>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://lore.kernel.org/all/20230108210445.3948344-8-dmitry.osipenko@collabora.com/
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions