diff options
author | Dave Airlie <airlied@redhat.com> | 2010-11-23 11:47:49 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-12-16 14:37:47 +1000 |
commit | 99ee7fac189893c90145a22b86bbcfdc98f69a9c (patch) | |
tree | 2719e044984e4d8cceb93e7e18f79ded48c7b685 /drivers/gpu/drm/radeon/radeon_object.c | |
parent | f7eb0c55416aba7478932cedbaccc2bdacd8a95d (diff) | |
download | op-kernel-dev-99ee7fac189893c90145a22b86bbcfdc98f69a9c.zip op-kernel-dev-99ee7fac189893c90145a22b86bbcfdc98f69a9c.tar.gz |
drm/radeon: add initial tracepoint support.
this adds a bo create, and fence seq tracking tracepoints.
This is just an initial set to play around with, we should investigate
what others we need would be useful.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_object.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_object.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c index a8594d2..8bdf0ba 100644 --- a/drivers/gpu/drm/radeon/radeon_object.c +++ b/drivers/gpu/drm/radeon/radeon_object.c @@ -34,6 +34,7 @@ #include <drm/drmP.h> #include "radeon_drm.h" #include "radeon.h" +#include "radeon_trace.h" int radeon_ttm_init(struct radeon_device *rdev); @@ -137,6 +138,7 @@ retry: list_add_tail(&bo->list, &rdev->gem.objects); mutex_unlock(&bo->rdev->gem.mutex); } + trace_radeon_bo_create(bo); return 0; } |