[PATCH] ttm: Do not increment the amount of pages in a pool by the current amount

2011-06-08 Thread Konrad Rzeszutek Wilk
.instead increment it by the count of pages that we want to splice into the pool list. In other words we were incrementing the pool->npages by the wrong amount. This bug was observed from code inspection. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_page_alloc.c |2 +- 1

[PATCH] ttm: Do not increment the amount of pages in a pool by the current amount

2011-06-08 Thread Konrad Rzeszutek Wilk
.instead increment it by the count of pages that we want to splice into the pool list. In other words we were incrementing the pool->npages by the wrong amount. This bug was observed from code inspection. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_page_alloc.c |2 +- 1