drm/radeon: Don't unreserve twice on failure to validate.
authorMichel Dänzer <daenzer@vmware.com>
Tue, 28 Jul 2009 10:30:55 +0000 (12:30 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Jul 2009 05:45:37 +0000 (15:45 +1000)
commite46074effd5510e7a8fe34b93828d98a50835da2
treea786f6edb00bac409902253b9bd41d80c04b5fcb
parentc93bb85b5cba3e3a06f2cad8e9bc5c23d3d10aac
drm/radeon: Don't unreserve twice on failure to validate.

This is done later in radeon_object_list_unvalidate(). Doing it twice triggers
a BUG in TTM, rendering X on KMS unusable until reboot.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_object.c