summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2012-02-02 21:23:11 +0100
committerDave Airlie <airlied@redhat.com>2012-02-03 10:15:03 +0000
commit3fe89a0c799c62de68e9e6d6e33899cd7e0da901 (patch)
treec8fb5e0e14007fadb86b18c07b643730525b0f57 /drivers/gpu
parent08bc3d4e67d486a9b2a5065c1c2ebaf13048a465 (diff)
drm/radeon: do not continue after error from r600_ib_test
This return statement got dropped while fixing the conflicts introduced in 7a7e8734ac3. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/evergreen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index ae09fe82afb..9be353b894c 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -3191,6 +3191,7 @@ static int evergreen_startup(struct radeon_device *rdev)
if (r) {
DRM_ERROR("radeon: failed testing IB (%d).\n", r);
rdev->accel_working = false;
+ return r;
}
r = r600_audio_init(rdev);