commit | 0208843dd59330c30e0773c77d5362260aa340e0 | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Thu Jan 21 15:03:23 2010 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Jan 25 10:35:19 2010 +1000 |
tree | c37f2dffe30c252b7f0a46fe5e8f6462227fd98f | |
parent | a1470890f29da73783e932078ed911f5871e3ad3 [diff] |
drm/nouveau: fix failure path if userspace specifies no valid memtypes We need to add the buffer to the list even if we fail, otherwise the validate_fini() call won't unreserve + unreference the GEM object, making TTM very unhappy. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>