diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 3bd430e180b51438cbe9ac8492cb5879117316a7..db63ff5c80f20981e5bc8507c62378dff2e3fe44 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c @@ -2111,6 +2111,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; } @@ -2176,6 +2177,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; }