]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: wait for map to complete for static attachments
authorChristian König <christian.koenig@amd.com>
Tue, 23 Nov 2021 08:58:36 +0000 (09:58 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 7 Apr 2022 10:53:54 +0000 (12:53 +0200)
commit9bdf620e197afee9b1246c55e014c7dc5ec304d4
treecb840eb8d8596d6e832d94427e714eeea05dc419
parent9bf7440bdc790e4dd08cd8ea885ec2aecb86abc4
dma-buf: wait for map to complete for static attachments

We have previously done that in the individual drivers but it is
more defensive to move that into the common code.

Dynamic attachments should wait for map operations to complete by themselves.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220407085946.744568-12-christian.koenig@amd.com
drivers/dma-buf/dma-buf.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
drivers/gpu/drm/nouveau/nouveau_prime.c
drivers/gpu/drm/radeon/radeon_prime.c