Am 22.09.2016 um 05:41 schrieb Flora Cui:
Change-Id: I86dc7d3fc4d6197bd13563a420718a8412ce9dbc
Signed-off-by: Flora Cui <flora....@amd.com>


Good catch. That clearly results in some additional overhead if not worse otherwise.

Patch is Reviewed-by: Christian König <christian.koe...@amd.com>.

Regards,
Christian.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
index 941416a..a7ea9a3 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);


_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to