linux/drivers/gpu/drm/udl
Thomas Zimmermann 5ceeb32863 drm/udl: Move vmap out of commit tail
Vmap operations may acquire the dmabuf reservation lock, which is not
allowed within atomic commit-tail functions. Therefore move vmap and
vunmap from the damage handler into prepare_fb and cleanup_fb callbacks.

The mapping is provided as GEM shadow-buffered plane. The functions in
the commit tail use the pre-established mapping for damage handling.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210208115538.6430-8-tzimmermann@suse.de
2021-02-08 13:00:51 +01:00
..
Kconfig drm/udl: Make udl driver depend on CONFIG_USB 2020-01-09 15:02:48 +01:00
Makefile drm/udl: Use GEM vmap/mmap function from SHMEM helpers 2020-06-10 10:17:21 +02:00
udl_connector.c drm/udl: Retrieve USB device from struct drm_device.dev 2020-11-09 09:16:13 +01:00
udl_connector.h drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_drv.c drm/shmem-helper: Removed drm_gem_shmem_create_object_cached() 2020-11-24 09:10:33 +01:00
udl_drv.h drm/udl: Retrieve USB device from struct drm_device.dev 2020-11-09 09:16:13 +01:00
udl_main.c drm/udl: Retrieve USB device from struct drm_device.dev 2020-11-09 09:16:13 +01:00
udl_modeset.c drm/udl: Move vmap out of commit tail 2021-02-08 13:00:51 +01:00
udl_transfer.c drm/udl: Remove field lost_pixels from struct udl_device 2019-12-06 13:52:33 +01:00