linux/include/drm/ttm
Francisco Jerez 5870a4d97d drm/ttm: Allocate the page pool manager in the heap.
Repeated ttm_page_alloc_init/fini fails noisily because the pool
manager kobj isn't zeroed out between uses (we could do just that but
statically allocated kobjects are generally considered a bad thing).
Move it to kzalloc'ed memory.

Note that this patch drops the refcounting behavior of the pool
allocator init/fini functions: it would have led to a race condition
in its current form, and anyway it was never exploited.

This fixes a regression with reloading kms modules at runtime, since
page allocator was introduced.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-07-07 12:14:11 +10:00
..
ttm_bo_api.h ttm: Provide an API for starting and stopping the delayed workqueue 2010-05-18 18:21:20 +10:00
ttm_bo_driver.h Merge branch 'drm-for-2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2010-05-21 11:14:52 -07:00
ttm_execbuf_util.h drm/ttm: Add TTM execbuf utilities. 2009-12-07 15:22:05 +10:00
ttm_lock.h drm/ttm: Add ttm lock functionality. 2009-12-07 15:22:03 +10:00
ttm_memory.h drm/ttm: Fix build failure due to missing struct page 2009-12-04 09:11:16 +10:00
ttm_module.h Merge Linus master to drm-next 2009-08-20 13:38:04 +10:00
ttm_object.h drm/ttm: Add more driver type enums 2009-12-15 08:38:18 +10:00
ttm_page_alloc.h drm/ttm: Allocate the page pool manager in the heap. 2010-07-07 12:14:11 +10:00
ttm_placement.h