[Intel-gfx] (subset) [PATCH v2 0/7] Move dma-buf mmap() reservation locking down to exporters
Srinivas Kandagatla
srinivas.kandagatla at linaro.org
Fri May 12 14:54:40 UTC 2023
On Thu, 06 Apr 2023 19:06:30 +0300, Dmitry Osipenko wrote:
> This patchset makes dma-buf exporters responisble for taking care of
> the reservation lock. I also included patch that moves drm-shmem to use
> reservation lock, to let CI test the whole set. I'm going to take all
> the patches via the drm-misc tree, please give an ack.
>
> Previous policy stated that dma-buf core takes the lock around mmap()
> callback. Which meant that both importers and exporters shouldn't touch
> the reservation lock in the mmap() code path. This worked well until
> Intel-CI found a deadlock problem in a case of self-imported dma-buf [1].
>
> [...]
Applied, thanks!
[4/7] fastrpc: Don't assert held reservation lock for dma-buf mmapping
commit: 3f6b4c6f0bd0126f673f3578429239ae3860718b
Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla at linaro.org>
More information about the Intel-gfx
mailing list