Reviewed-by: Chunming Zhou <david1.z...@amd.com>
On 2017年08月25日 17:38, Christian König wrote:
From: Christian König <christian.koe...@amd.com>
That somehow got lost.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index 7a0656c..c77689f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@ -2110,6 +2110,7 @@ int amdgpu_vm_bo_map(struct amdgpu_device *adev,
if (flags & AMDGPU_PTE_PRT)
amdgpu_vm_prt_get(adev);
+ trace_amdgpu_vm_bo_map(bo_va, mapping);
return 0;
}
@@ -2175,6 +2176,7 @@ int amdgpu_vm_bo_replace_map(struct amdgpu_device *adev,
if (flags & AMDGPU_PTE_PRT)
amdgpu_vm_prt_get(adev);
+ trace_amdgpu_vm_bo_map(bo_va, mapping);
return 0;
}
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx