commit | ef1b287169cd3d1e428c8ed8222e0bbf733d5dbb | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Mon Mar 07 17:18:03 2011 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Tue Mar 08 07:03:01 2011 +1000 |
tree | 87802c1a32ad130065f2ba35a73d9da6a8632d40 | |
parent | fb62c00a6d8942775abc23d1621db1252e2d93d1 [diff] |
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 <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>