drm/ttm: add wait for idle in all drivers bo_move functions
authorChristian König <christian.koenig@amd.com>
Mon, 6 Jun 2016 08:17:53 +0000 (10:17 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:35 +0000 (14:54 -0400)
commit88932a7be27d892aef21ff05428a55fefa091716
treef7d422b1a2a541f6e5d9879c0106033b39ad730b
parent1888577807ea4e7593d27582b02c5b4126a9a642
drm/ttm: add wait for idle in all drivers bo_move functions

Wait for idle before moving the BO in all drivers implementing
an accelerated move function.

This should keep the current behavior when removing the pre move wait.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/qxl/qxl_ttm.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/virtio/virtgpu_ttm.c