]> Git Repo - linux.git/commit
drm/gem: Take reservation lock for vmap/vunmap operations
authorDmitry Osipenko <[email protected]>
Mon, 17 Oct 2022 17:22:11 +0000 (20:22 +0300)
committerDmitry Osipenko <[email protected]>
Mon, 17 Oct 2022 22:21:38 +0000 (01:21 +0300)
commit79e2cf2e7a193473dfb0da3b9b869682b43dc60f
tree4edf97bf0cf01f1c7b3ba1dde6b6134e9053b9c9
parent19d6634d8789573a9212ce78dbb4348ffd4f7f78
drm/gem: Take reservation lock for vmap/vunmap operations

The new common dma-buf locking convention will require buffer importers
to hold the reservation lock around mapping operations. Make DRM GEM core
to take the lock around the vmapping operations and update DRM drivers to
use the locked functions for the case where DRM core now holds the lock.
This patch prepares DRM core and drivers to the common dynamic dma-buf
locking convention.

Acked-by: Christian König <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/drm_client.c
drivers/gpu/drm/drm_gem.c
drivers/gpu/drm/drm_gem_dma_helper.c
drivers/gpu/drm/drm_gem_framebuffer_helper.c
drivers/gpu/drm/drm_gem_ttm_helper.c
drivers/gpu/drm/lima/lima_sched.c
drivers/gpu/drm/panfrost/panfrost_dump.c
drivers/gpu/drm/panfrost/panfrost_perfcnt.c
drivers/gpu/drm/qxl/qxl_object.c
drivers/gpu/drm/qxl/qxl_prime.c
include/drm/drm_gem.h
This page took 0.053398 seconds and 4 git commands to generate.