drm/amdgpu: fix amdgpu_vm_bo_map trace point
authorChristian König <christian.koenig@amd.com>
Wed, 23 Aug 2017 12:05:48 +0000 (14:05 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:27:55 +0000 (15:27 -0400)
That somehow got lost.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

index 3bd430e180b51438cbe9ac8492cb5879117316a7..db63ff5c80f20981e5bc8507c62378dff2e3fe44 100644 (file)
@@ -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;
 }