diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-01-25 14:26:58 +0100 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-01-25 14:27:29 +0100 |
commit | 582637641abbadc75795ac7e0671e1a5e3b41880 (patch) | |
tree | 0df2009a7b164cac50485fd8dd241465f6c299b2 /linux-core/drmP.h | |
parent | 90ae39d2f07058dd128d2fb19ffad712ee75c9a0 (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.h | 3 |
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, |