]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5807c6e174cfb46536bdb27b6ccb0fbdb1c56f31
tree023576f530939ff497bb7fe44b62da0ce50221be
parent4e4946e6e5194374bf3adcb60591bc6f3d37274d
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