amdgpu_bo_kmap() now always waits for moves to finish.
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>
                return -EINVAL;
        }
 
-       r = reservation_object_wait_timeout_rcu(bo->tbo.resv, true, false,
-                                               MAX_SCHEDULE_TIMEOUT);
-       if (r < 0) {
-               DRM_ERROR("Failed waiting for UVD message (%ld)!\n", r);
-               return r;
-       }
-
        r = amdgpu_bo_kmap(bo, &ptr);
        if (r) {
                DRM_ERROR("Failed mapping the UVD message (%ld)!\n", r);