]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: wait for moving fence after pinning
authorChristian König <christian.koenig@amd.com>
Mon, 21 Jun 2021 12:29:14 +0000 (14:29 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 22 Jun 2021 13:29:03 +0000 (15:29 +0200)
commit87d949860479337e60c2d75f38eb7e28ef50ce45
tree30c88932a8e180187fb2be054c18484123a7e68a
parenta5ad0329a42e8baf57badeb2daa3c6b19ca58d0b
drm/amdgpu: wait for moving fence after pinning

We actually need to wait for the moving fence after pinning
the BO to make sure that the pin is completed.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
References: https://lore.kernel.org/dri-devel/20210621151758.2347474-1-daniel.vetter@ffwll.ch/
CC: stable@kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20210622114506.106349-3-christian.koenig@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c