diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2019-12-06 09:59:53 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2019-12-06 13:52:18 +0100 |
commit | 798ce3fe1c3a9819f46a5fb930b24a19ccf59c89 (patch) | |
tree | 0b28998ac07a86b69e6c75e6f288e6ee0aad6144 /lib | |
parent | cd45e30a7099e5fcbc25fcfa035fa604255afdee (diff) |
drm/udl: Begin/end access to imported buffers in damage-handler
The damage-handler code now invokes dma_buf_{begin,end}_access()
for imported buffers. These calls were missing from the page-flip
and modesetting code paths. The patch also fixes an bug in the
original where an error code was overwritten by the result of
dma_buf_end_cpu_access().
v2:
* only return an error code from dma_buf_end_cpu_access() if
no other error code has been set before
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191206085954.9697-7-tzimmermann@suse.de
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions