summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-26 21:20:34 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-26 21:20:34 +0200
commite09544a2d3f44e96d01ed2bdcb4a4eb8eec26225 (patch)
tree2f5bfa94eac61df6c55ccb6940f91355cf2e7098 /linux-core/drmP.h
parent47dbfc4e4a3e8ce2ec468bc3874f74f7e2b13476 (diff)
New mm function names. Update header.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 4ce5a3ec..1ed20b09 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -1368,7 +1368,11 @@ extern drm_mm_node_t *drm_mm_search_free(const drm_mm_t *mm, unsigned long size,
extern int drm_mm_init(drm_mm_t *mm, unsigned long start, unsigned long size);
extern void drm_mm_takedown(drm_mm_t *mm);
extern int drm_mm_clean(drm_mm_t *mm);
-static inline drm_mm_t *drm_get_mm(drm_mm_node_t *block)
+extern unsigned long drm_mm_tail_space(drm_mm_t *mm);
+extern int drm_mm_remove_space_from_tail(drm_mm_t *mm, unsigned long size);
+extern int drm_mm_add_space_to_tail(drm_mm_t *mm, unsigned long size);
+
+static inline drm_mm_t *drm_get_mm(drm_mm_node_t *block)
{
return block->mm;
}