[PATCH 1/2] drm/ttm: Fix cached TTM page allocation.

2010-05-26 Thread Thomas Hellstrom
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 --- drivers/gpu/drm/ttm/ttm_pag

[PATCH 1/2] drm/ttm: Fix cached TTM page allocation.

2010-05-26 Thread Thomas Hellstrom
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 --- drivers/gpu/drm/ttm/ttm_pag