Re: [PATCH v10 07/11] drm/shmem-helper: Switch to reservation lock

2023-02-17 Thread Dmitry Osipenko
On 2/17/23 15:52, Thomas Zimmermann wrote: > Hi > > Am 08.01.23 um 22:04 schrieb Dmitry Osipenko: >> 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 op

Re: [PATCH v10 07/11] drm/shmem-helper: Switch to reservation lock

2023-02-17 Thread Thomas Zimmermann
Hi Am 08.01.23 um 22:04 schrieb Dmitry Osipenko: 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 betwe

Re: [PATCH v10 07/11] drm/shmem-helper: Switch to reservation lock

2023-02-17 Thread Thomas Zimmermann
Hi Am 08.01.23 um 22:04 schrieb Dmitry Osipenko: 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 betwe

[PATCH v10 07/11] drm/shmem-helper: Switch to reservation lock

2023-01-08 Thread Dmitry Osipenko
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: D