drm/ttm: Fix cached TTM page allocation.
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 26 May 2010 14:21:03 +0000 (16:21 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 31 May 2010 23:39:48 +0000 (09:39 +1000)
This patch fixes a regression introduced with the pool page allocator
in the event that there are no highmem pages (for example x86_64),
in which case cached page allocation would fail.

Tested with the vmwgfx driver on a 64-bit vm.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found