drm/ttm: Add debugfs output entry to pool allocator.
commit0745866165598b067442c472911280527b08be3e
authorPauli Nieminen <suokkos@gmail.com>
Thu, 1 Apr 2010 12:44:58 +0000 (1 12:44 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Apr 2010 01:35:45 +0000 (6 11:35 +1000)
tree454900be36c969fe45554a47e733807d63be8b6f
parent1403b1a38e8b19a4cc17e2c158e278628943a436
drm/ttm: Add debugfs output entry to pool allocator.

ttm_page_alloc_debugfs can be registered to output the state
of pools.

Debugfs file will output number of pages freed from the pool,
number of pages in pool now and the lowes number of pages in
pool since previous shrink.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_page_alloc.c
include/drm/ttm/ttm_page_alloc.h