summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_dp.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-01-21 08:03:23 +0300
committerBen Skeggs <bskeggs@redhat.com>2010-01-25 03:35:19 +0300
commit0208843dd59330c30e0773c77d5362260aa340e0 (patch)
treec37f2dffe30c252b7f0a46fe5e8f6462227fd98f /drivers/gpu/drm/nouveau/nouveau_dp.c
parenta1470890f29da73783e932078ed911f5871e3ad3 (diff)
downloadlinux-0208843dd59330c30e0773c77d5362260aa340e0.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_dp.c')
0 files changed, 0 insertions, 0 deletions