diff options
author | Christian König <deathsimple@vodafone.de> | 2012-05-09 09:34:51 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-09 12:22:33 -0400 |
commit | 711a9729337466e5ec70c418d33f4bf9fa65c38d (patch) | |
tree | a5c3ffd9089ef2668e43f86a0b70bc0e59a61a09 /drivers/gpu/drm/radeon/radeon_object.h | |
parent | a651c55a0b489a9d5900354d487ebe34d84eec2c (diff) |
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.h | 5 |
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, | |||
172 | unsigned size, unsigned align); | 172 | unsigned size, unsigned align); |
173 | extern void radeon_sa_bo_free(struct radeon_device *rdev, | 173 | extern void radeon_sa_bo_free(struct radeon_device *rdev, |
174 | struct radeon_sa_bo *sa_bo); | 174 | struct radeon_sa_bo *sa_bo); |
175 | #if defined(CONFIG_DEBUG_FS) | ||
176 | extern void radeon_sa_bo_dump_debug_info(struct radeon_sa_manager *sa_manager, | ||
177 | struct seq_file *m); | ||
178 | #endif | ||
179 | |||
175 | 180 | ||
176 | #endif | 181 | #endif |