drm/amdgpu: fix amdgpu_vm_bo_update param error
Subsystems (2)
PATCH 1/1 drm/amdgpu: fix amdgpu_vm_bo_update param error
Change-Id I86dc7d3fc4d6197bd13563a420718a8412ce9dbc
Signed-off-by Flora Cui <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +1 -1
@@ -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);
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1474515666-24562-1-git-send-email-Flora.Cui-5C7GfCeVMHo@public.gmane.org
Am 22.09.2016 um 05:41 schrieb Flora Cui:
Quoted 2 lines
Change-Id I86dc7d3fc4d6197bd13563a420718a8412ce9dbcSigned-off-by Flora Cui <[email protected]>
Good catch. That clearly results in some additional overhead if not worse otherwise.
Patch is Reviewed-by: Christian König <[email protected]>.
Regards,
Christian.
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c static void amdgpu_gem_va_update_vm(struct amdgpu_device *adev, · line 534
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +1
-1@@ -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);
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx