summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-01-25 14:26:58 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-01-25 14:27:29 +0100
commit582637641abbadc75795ac7e0671e1a5e3b41880 (patch)
tree0df2009a7b164cac50485fd8dd241465f6c299b2 /linux-core/drmP.h
parent90ae39d2f07058dd128d2fb19ffad712ee75c9a0 (diff)
Remove a scary error printed when we were leaking memory caches.
We don't use memory caches anymore... Fix memory accounting initialization to only use low or DMA32 memory.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index af8a544d..ff3fc67f 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -1127,7 +1127,8 @@ extern void drm_query_memctl(drm_u64_t *cur_used,
drm_u64_t *low_threshold,
drm_u64_t *high_threshold);
extern void drm_init_memctl(size_t low_threshold,
- size_t high_threshold);
+ size_t high_threshold,
+ size_t unit_size);
/* Misc. IOCTL support (drm_ioctl.h) */
extern int drm_irq_by_busid(struct inode *inode, struct file *filp,