diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-02-08 14:55:38 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-02-08 15:00:51 +0300 |
commit | 5ceeb328637a01e0e54e2618cff129c6a1c31dba (patch) | |
tree | 48189a6c708ca6076657ab2ae15bb0ac22227023 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 4ac0868d43b0874d466f248bb767c549bbd741b7 (diff) | |
download | linux-5ceeb328637a01e0e54e2618cff129c6a1c31dba.tar.xz |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions