drm/ttm: page allocation use page array instead of list
authorJerome Glisse <jglisse@redhat.com>
Thu, 10 Nov 2011 23:24:09 +0000 (18:24 -0500)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 10:39:11 +0000 (10:39 +0000)
commit822c4d9ae0d55a4fcea9f0a462bc6406a06692e2
tree023576f530939ff497bb7fe44b62da0ce50221be
parentf9517e63ffae6a1062a0a2ac4eea60be49b9dfd4
drm/ttm: page allocation use page array instead of list

Use the ttm_tt pages array for pages allocations, move the list
unwinding into the page allocation functions.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
drivers/gpu/drm/ttm/ttm_page_alloc.c
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_page_alloc.h