mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
drm/amdgpu: remove pre move wait
Not needed any more. 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>
This commit is contained in:
parent
3cabaa54e7
commit
99c44632d4
1 changed files with 0 additions and 4 deletions
|
|
@ -390,10 +390,6 @@ static int amdgpu_bo_move(struct ttm_buffer_object *bo,
|
|||
struct ttm_mem_reg *old_mem = &bo->mem;
|
||||
int r;
|
||||
|
||||
r = ttm_bo_wait(bo, interruptible, no_wait_gpu);
|
||||
if (r)
|
||||
return r;
|
||||
|
||||
/* Can't move a pinned BO */
|
||||
abo = container_of(bo, struct amdgpu_bo, tbo);
|
||||
if (WARN_ON_ONCE(abo->pin_count > 0))
|
||||
|
|
|
|||
Loading…
Reference in a new issue