drm/amdgpu: always wait before kmap a BO
authorChristian König <christian.koenig@amd.com>
Thu, 10 Mar 2016 15:21:04 +0000 (16:21 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Mar 2016 17:43:09 +0000 (13:43 -0400)
commit587f3c70aaf07081fb24ac035789836a3f7d9008
tree28a80f072f9f0198a15690f7aacd3854e184e867
parent102534b085c41b278ee30674951c3ebac243645f
drm/amdgpu: always wait before kmap a BO

When a BO is currently moving we otherwise would blindly
access the new location without checking.

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