diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2010-04-01 16:45:03 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-06 05:36:18 +0400 |
commit | c96af79e3463d5d3f865625baa8bb8aa4c0944a0 (patch) | |
tree | d3ed3dd9a4a9e8beda500f51213bd0c7e5c28884 /drivers/gpu/drm/ttm/ttm_memory.c | |
parent | 975efdb1bf925ad48d4e3fe5339a85f12601e10d (diff) | |
download | linux-c96af79e3463d5d3f865625baa8bb8aa4c0944a0.tar.xz |
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 'drivers/gpu/drm/ttm/ttm_memory.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_memory.c b/drivers/gpu/drm/ttm/ttm_memory.c index daff8a87977e..5e3f177323cb 100644 --- a/drivers/gpu/drm/ttm/ttm_memory.c +++ b/drivers/gpu/drm/ttm/ttm_memory.c @@ -393,7 +393,7 @@ int ttm_mem_global_init(struct ttm_mem_global *glob) "Zone %7s: Available graphics memory: %llu kiB.\n", zone->name, (unsigned long long) zone->max_mem >> 10); } - ttm_page_alloc_init(glob->zone_kernel->max_mem/(2*PAGE_SIZE)); + ttm_page_alloc_init(glob, glob->zone_kernel->max_mem/(2*PAGE_SIZE)); return 0; out_no_zone: ttm_mem_global_release(glob); |