OSDN Git Service

drm/amd/amdgpu: Remove AMDGPU tracepoint and use new TTM tracepoint (v2)
authorTom St Denis <tom.stdenis@amd.com>
Wed, 23 Aug 2017 19:33:40 +0000 (15:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:27:51 +0000 (15:27 -0400)
commitca3670aa370e3cd01020decb308a0a5ddf193183
treea759c32fc084eba289723637fcf6e79fd64b6aa7
parenta92e145059cb883155a24a2d3ac33296d33d9df7
drm/amd/amdgpu: Remove AMDGPU tracepoint and use new TTM tracepoint (v2)

Switches the AMDGPU driver over to the TTM tracepoint and removes
our old one.  Now you can enable traces before loading the module
and trace all mappings.

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): Use struct device instead of pci in trace.
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c