OSDN Git Service

drm/ttm: add dma_resv_assert_held() calls to vmap/vunmap
authorChristian König <christian.koenig@amd.com>
Fri, 15 Jul 2022 08:34:13 +0000 (10:34 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 26 Sep 2022 10:07:01 +0000 (12:07 +0200)
commitd6d36cf2f8efd78455286050d6d8f9a8969d63b3
treefe177b0324de12d5a1c35d8210f4c7e401017c28
parent4aef2085613106d0a3ce868a45f080babb4e3478
drm/ttm: add dma_resv_assert_held() calls to vmap/vunmap

Let's make sure nobody is calling those functions without holding the
appropriate locks.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220715111533.467012-2-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_bo_util.c