[PATCH 1/2] drm/ttm: fix locking in vmap/vunmap TTM GEM helpers

Dmitry Osipenko dmitry.osipenko at collabora.com
Fri Jul 15 11:31:53 UTC 2022


On 7/15/22 14:15, Christian König wrote:
> I've stumbled over this while reviewing patches for DMA-buf and it looks
> like we completely messed the locking up here.
> 
> In general most TTM function should only be called while holding the
> appropriate BO resv lock. Without this we could break the internal
> buffer object state here.

Could you please clarify which part of the TTM state is affected?

-- 
Best regards,
Dmitry


More information about the dri-devel mailing list