]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: wait for VM to become idle during flush
authorChristian König <christian.koenig@amd.com>
Thu, 10 Jan 2019 15:48:23 +0000 (16:48 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:58 +0000 (15:36 -0500)
commita1026bc6e52d65ccc8b6e3fce164bfc7d8292bb1
tree14fc98eeefe51b252a2c5171d87e2ba3ee54ae5d
parent13b60024be6366a5de2d08eb6079782c50080be6
drm/amdgpu: wait for VM to become idle during flush

Make sure that not only the entities are flush, but that
we also wait for the HW to finish all processing.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h