drm/amd/amdgpu: Add tracepoint for DMA page mapping (v4)
authorTom St Denis <tom.stdenis@amd.com>
Mon, 31 Jul 2017 13:35:24 +0000 (09:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Aug 2017 19:45:59 +0000 (15:45 -0400)
commitaca817181273d9c765ef61ab7674e5c8a4b727ca
tree11c99408e06b4a84f55c26e4bfd54a4965473707
parentdbcca4aab1b2e1983e5432cb2a1d4f5f1d8b4750
drm/amd/amdgpu: Add tracepoint for DMA page mapping (v4)

This helps map DMA addresses back to physical addresses.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(v2):  Added tracepoints for USERPTR, SG mappings, and
     SWIOTBL mappings.  Reformatted trace call perform
     PCI decoding internal to the trace.

(v3):  Add unmap tracepoints as well

(v4):  Move traces into separate functions
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c