]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite099025b2f12724703814e3ce91a61ed375ef311
tree11c99408e06b4a84f55c26e4bfd54a4965473707
parent8a7e958f80551d86766803b070b349428ae4dd39
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