Skip to content

Commit 03a75fd

Browse files
committed
drm/etnaviv: Prepare to dynamic dma-buf locking specification
Prepare Etnaviv driver to the common dynamic dma-buf locking convention by starting to use the unlocked versions of dma-buf API functions. Acked-by: Christian König <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent f66d48c commit 03a75fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static void etnaviv_gem_prime_release(struct etnaviv_gem_object *etnaviv_obj)
6565
struct iosys_map map = IOSYS_MAP_INIT_VADDR(etnaviv_obj->vaddr);
6666

6767
if (etnaviv_obj->vaddr)
68-
dma_buf_vunmap(etnaviv_obj->base.import_attach->dmabuf, &map);
68+
dma_buf_vunmap_unlocked(etnaviv_obj->base.import_attach->dmabuf, &map);
6969

7070
/* Don't drop the pages for imported dmabuf, as they are not
7171
* ours, just free the array we allocated:

0 commit comments

Comments
 (0)