diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-07-28 06:30:55 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-07-29 01:45:37 -0400 |
commit | e46074effd5510e7a8fe34b93828d98a50835da2 (patch) | |
tree | a786f6edb00bac409902253b9bd41d80c04b5fcb /drivers | |
parent | c93bb85b5cba3e3a06f2cad8e9bc5c23d3d10aac (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_object.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c index d5b1fd562d88..3961a44c5dce 100644 --- a/drivers/gpu/drm/radeon/radeon_object.c +++ b/drivers/gpu/drm/radeon/radeon_object.c | |||
@@ -433,7 +433,6 @@ int radeon_object_list_validate(struct list_head *head, void *fence) | |||
433 | robj->tobj.proposed_placement, | 433 | robj->tobj.proposed_placement, |
434 | true, false); | 434 | true, false); |
435 | if (unlikely(r)) { | 435 | if (unlikely(r)) { |
436 | radeon_object_list_unreserve(head); | ||
437 | DRM_ERROR("radeon: failed to validate.\n"); | 436 | DRM_ERROR("radeon: failed to validate.\n"); |
438 | return r; | 437 | return r; |
439 | } | 438 | } |