diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-12-09 21:55:09 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-10 15:28:06 +1000 |
commit | 99d7e48e8cb867f303439ad40e995e203841bd94 (patch) | |
tree | 2bb3110aec2ed62a195a3ab8511f1aab99f15b86 /include/drm/drm_mm.h | |
parent | 550e2d9270e2f0a10c3b063899f70e4cca25fe72 (diff) | |
download | linux-3.10-99d7e48e8cb867f303439ad40e995e203841bd94.tar.gz linux-3.10-99d7e48e8cb867f303439ad40e995e203841bd94.tar.bz2 linux-3.10-99d7e48e8cb867f303439ad40e995e203841bd94.zip |
drm: Add memory manager debug function
drm_mm_debug_table will print the memory manager state
in table allowing to give a snapshot of the manager at
given point in time. Usefull for debugging.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_mm.h')
-rw-r--r-- | include/drm/drm_mm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_mm.h b/include/drm/drm_mm.h index b40b2f06203..4c10be39a43 100644 --- a/include/drm/drm_mm.h +++ b/include/drm/drm_mm.h @@ -133,6 +133,7 @@ static inline struct drm_mm *drm_get_mm(struct drm_mm_node *block) return block->mm; } +extern void drm_mm_debug_table(struct drm_mm *mm, const char *prefix); #ifdef CONFIG_DEBUG_FS int drm_mm_dump_table(struct seq_file *m, struct drm_mm *mm); #endif |