From: Michel Dänzer Date: Tue, 28 Jul 2009 10:30:55 +0000 (+0200) Subject: drm/radeon: Don't unreserve twice on failure to validate. X-Git-Tag: v3.0~8369^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e46074effd5510e7a8fe34b93828d98a50835da2;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c index d5b1fd5..3961a44 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) robj->tobj.proposed_placement, true, false); if (unlikely(r)) { - radeon_object_list_unreserve(head); DRM_ERROR("radeon: failed to validate.\n"); return r; }