aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlora Cui <[email protected]>2016-09-22 11:34:47 +0800
committerAlex Deucher <[email protected]>2016-09-23 11:47:50 -0400
commit05dcb5c88827cf0f45f706246ce67b2f0cb2914c (patch)
tree8fbd0b9ca081bebddfe791916e8b658c8c993ff6
parenta1c1a1de43457e35816e84b948052af7ee68e158 (diff)
drm/amdgpu: fix amdgpu_vm_bo_update param error
Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
index 88fbed2389c0..f9f911623917 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
@@ -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);