diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2010-04-01 12:45:03 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-06 11:36:18 +1000 |
commit | c96af79e3463d5d3f865625baa8bb8aa4c0944a0 (patch) | |
tree | d3ed3dd9a4a9e8beda500f51213bd0c7e5c28884 /include/drm | |
parent | 975efdb1bf925ad48d4e3fe5339a85f12601e10d (diff) | |
download | blackbird-op-linux-c96af79e3463d5d3f865625baa8bb8aa4c0944a0.tar.gz blackbird-op-linux-c96af79e3463d5d3f865625baa8bb8aa4c0944a0.zip |
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.h | 2 |
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, * multiple times but ttm_page_alloc_fini has to be called same number of * times. */ -int ttm_page_alloc_init(unsigned max_pages); +int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages); /** * Free pool allocator. */ |