diff options
| author | Thomas Zimmermann <[email protected]> | 2021-02-08 12:55:36 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2021-02-08 13:00:36 +0100 |
| commit | 681a2c5dfd31e61774fcc8a82809aeb7d0773656 (patch) | |
| tree | 82e722e7b6e90591002fe071ac80704baebfbd14 /tools | |
| parent | 4862ffaec523fe24cce6943bf78aa7ea1ba77039 (diff) | |
drm/cirrus: 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 <[email protected]>
Tested-by: Gerd Hoffmann <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions