summaryrefslogtreecommitdiff
path: root/lib/radix-tree.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2021-02-08 12:55:38 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2021-02-08 13:00:51 +0100
commit5ceeb328637a01e0e54e2618cff129c6a1c31dba (patch)
tree48189a6c708ca6076657ab2ae15bb0ac22227023 /lib/radix-tree.c
parent4ac0868d43b0874d466f248bb767c549bbd741b7 (diff)
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
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions