[PATCH] drm/ttm: fix handling of TTM_PL_FLAG_TOPDOWN v2

2014-07-03 Thread Christian König
From: Christian K?nig bo->mem.placement is not initialized when ttm_bo_man_get_node is called, so the flag had no effect at all. v2: change nouveau and vmwgfx as well Signed-off-by: Christian K?nig Cc: stable at vger.kernel.org --- drivers/gpu/drm/nouveau/nouveau_ttm.c | 3 +++ driver

[PATCH] drm/ttm: fix handling of TTM_PL_FLAG_TOPDOWN

2014-07-02 Thread Christian König
From: Christian K?nig bo->mem.placement is not initialized when ttm_bo_man_get_node is called, so the flag had no effect at all. Signed-off-by: Christian K?nig Cc: stable at vger.kernel.org --- drivers/gpu/drm/ttm/ttm_bo.c | 6 +++--- drivers/gpu/drm/ttm/ttm_bo_manager.c | 3 ++- inclu