drm/radeon: do not continue after error from r600_ib_test
authorMatthijs Kooijman <[email protected]>
Thu, 2 Feb 2012 20:23:11 +0000 (21:23 +0100)
committerDave Airlie <[email protected]>
Fri, 3 Feb 2012 10:15:03 +0000 (10:15 +0000)
This return statement got dropped while fixing the conflicts introduced
in 7a7e8734ac3.

Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
drivers/gpu/drm/radeon/evergreen.c

index ae09fe82afbc76702504a0ac74eda5eed7e05917..9be353b894cc56eef6958b109ab06145ab2a0843 100644 (file)
@@ -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);