summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_object.h
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2012-05-09 15:34:51 +0200
committerDave Airlie <airlied@redhat.com>2012-05-09 17:22:33 +0100
commit711a9729337466e5ec70c418d33f4bf9fa65c38d (patch)
treea5c3ffd9089ef2668e43f86a0b70bc0e59a61a09 /drivers/gpu/drm/radeon/radeon_object.h
parenta651c55a0b489a9d5900354d487ebe34d84eec2c (diff)
downloadlinux-711a9729337466e5ec70c418d33f4bf9fa65c38d.tar.bz2
drm/radeon: add sub allocator debugfs file
Dumping the current allocations. Signed-off-by: Christian König <deathsimple@vodafone.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_object.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_object.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_object.h b/drivers/gpu/drm/radeon/radeon_object.h
index c120ab9e457b..d9fca1ebf77b 100644
--- a/drivers/gpu/drm/radeon/radeon_object.h
+++ b/drivers/gpu/drm/radeon/radeon_object.h
@@ -172,5 +172,10 @@ extern int radeon_sa_bo_new(struct radeon_device *rdev,
unsigned size, unsigned align);
extern void radeon_sa_bo_free(struct radeon_device *rdev,
struct radeon_sa_bo *sa_bo);
+#if defined(CONFIG_DEBUG_FS)
+extern void radeon_sa_bo_dump_debug_info(struct radeon_sa_manager *sa_manager,
+ struct seq_file *m);
+#endif
+
#endif