aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2010-04-01 08:45:03 -0400
committerDave Airlie <airlied@redhat.com>2010-04-05 21:36:18 -0400
commitc96af79e3463d5d3f865625baa8bb8aa4c0944a0 (patch)
treed3ed3dd9a4a9e8beda500f51213bd0c7e5c28884 /include/drm
parent975efdb1bf925ad48d4e3fe5339a85f12601e10d (diff)
drm/ttm: Add sysfs interface to control pool allocator.
Sysfs interface allows user to configure pool allocator functionality and change limits for the size of pool. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/ttm/ttm_page_alloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_page_alloc.h b/include/drm/ttm/ttm_page_alloc.h
index 8b091c309df4..8bb4de567b2c 100644
--- a/include/drm/ttm/ttm_page_alloc.h
+++ b/include/drm/ttm/ttm_page_alloc.h
@@ -61,7 +61,7 @@ void ttm_put_pages(struct list_head *pages,
61 * multiple times but ttm_page_alloc_fini has to be called same number of 61 * multiple times but ttm_page_alloc_fini has to be called same number of
62 * times. 62 * times.
63 */ 63 */
64int ttm_page_alloc_init(unsigned max_pages); 64int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
65/** 65/**
66 * Free pool allocator. 66 * Free pool allocator.
67 */ 67 */