drm/amdgpu: fix amdgpu_vm_bo_update param error
authorFlora Cui <Flora.Cui@amd.com>
Thu, 22 Sep 2016 03:34:47 +0000 (11:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Sep 2016 15:47:50 +0000 (11:47 -0400)
Signed-off-by: Flora Cui <Flora.Cui@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@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/amdgpu_gem.c

index 88fbed2389c0a181d69c7918d340ec82010dc811..f9f9116239176c49b2e80ef4a16cabdeb694662a 100644 (file)
@@ -528,7 +528,7 @@ static void amdgpu_gem_va_update_vm(struct amdgpu_device *adev,
                goto error_unreserve;
 
        if (operation == AMDGPU_VA_OP_MAP)
-               r = amdgpu_vm_bo_update(adev, bo_va, &bo_va->bo->tbo.mem);
+               r = amdgpu_vm_bo_update(adev, bo_va, false);
 
 error_unreserve:
        ttm_eu_backoff_reservation(&ticket, &list);