mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
drm/amdgpu: fix amdgpu_vm_bo_update param error
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>
This commit is contained in:
parent
a1c1a1de43
commit
05dcb5c888
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ static void amdgpu_gem_va_update_vm(struct amdgpu_device *adev,
|
||||||
goto error_unreserve;
|
goto error_unreserve;
|
||||||
|
|
||||||
if (operation == AMDGPU_VA_OP_MAP)
|
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:
|
error_unreserve:
|
||||||
ttm_eu_backoff_reservation(&ticket, &list);
|
ttm_eu_backoff_reservation(&ticket, &list);
|
||||||
|
|
Loading…
Reference in a new issue