[PATCH 1/9] drm/amdgpu: fix amdgpu_vm_bo_map trace point
zhoucm1
david1.zhou at amd.com
Mon Aug 28 04:08:46 UTC 2017
Reviewed-by: Chunming Zhou <david1.zhou at amd.com>
On 2017年08月25日 17:38, Christian König wrote:
> From: Christian König <christian.koenig at amd.com>
>
> That somehow got lost.
>
> Signed-off-by: Christian König <christian.koenig at 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;
> }
More information about the amd-gfx
mailing list