drm/amdgpu: wait engine idle before vm flush for sdma
authorChunming Zhou <David1.Zhou@amd.com>
Wed, 2 Mar 2016 03:30:31 +0000 (11:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Mar 2016 16:01:40 +0000 (11:01 -0500)
commit5c55db83b759b079ead93aa0767fc97048b1f899
tree5c4db2c3e0291851e36f1b2ee50f6c27629d868a
parentb6bae58d8b6c21357198255cdb42a3929e7f7357
drm/amdgpu: wait engine idle before vm flush for sdma

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c