From: Flora Cui Date: Thu, 22 Sep 2016 03:34:47 +0000 (+0800) Subject: drm/amdgpu: fix amdgpu_vm_bo_update param error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=05dcb5c88827cf0f45f706246ce67b2f0cb2914c;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: fix amdgpu_vm_bo_update param error Signed-off-by: Flora Cui Reviewed-by: Hawking Zhang Reviewed-by: Christian König Signed-off-by: Alex Deucher --- 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);