From: Ben Skeggs Date: Mon, 7 Mar 2011 07:18:03 +0000 (+1000) Subject: drm/nouveau: fix regression causing ttm to not be able to evict vram X-Git-Tag: v2.6.38-rc8~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef1b287169cd3d1e428c8ed8222e0bbf733d5dbb;p=pandora-kernel.git drm/nouveau: fix regression causing ttm to not be able to evict vram TTM assumes an error condition from man->func->get_node() means that something went horribly wrong, and causes it to bail. The driver is supposed to return 0, and leave mm_node == NULL to signal that it couldn't allocate any memory. Signed-off-by: Ben Skeggs Signed-off-by: Dave Airlie --- Reading git-diff-tree failed