diff options
author | Christian König <christian.koenig@amd.com> | 2013-09-07 18:29:01 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-09-11 11:44:33 -0400 |
commit | 860024e5c9f61358917e2a13e9cdf92e75479aca (patch) | |
tree | ca99b29b35bb2267933d9a7aea4dddcd68189572 /drivers/gpu/drm/radeon/radeon_cs.c | |
parent | c647dcfde67e5bf443159e70632091d852833408 (diff) | |
download | op-kernel-dev-860024e5c9f61358917e2a13e9cdf92e75479aca.zip op-kernel-dev-860024e5c9f61358917e2a13e9cdf92e75479aca.tar.gz |
drm/radeon: add command submission tracepoint
Neither complete nor perfect, but solves my problem at hand
and might be useful in the future.
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_cs.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index a560844..27ea004 100644 --- a/drivers/gpu/drm/radeon/radeon_cs.c +++ b/drivers/gpu/drm/radeon/radeon_cs.c @@ -28,6 +28,7 @@ #include <drm/radeon_drm.h> #include "radeon_reg.h" #include "radeon.h" +#include "radeon_trace.h" static int radeon_cs_parser_relocs(struct radeon_cs_parser *p) { @@ -559,6 +560,8 @@ int radeon_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) return r; } + trace_radeon_cs(&parser); + r = radeon_cs_ib_chunk(rdev, &parser); if (r) { goto out; |