aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
-rw-r--r--drivers/gpu/drm/radeon/evergreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index 4350a3fe4ec5..450b01d915e2 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -1539,7 +1539,7 @@ int evergreen_cp_resume(struct radeon_device *rdev)
1539 1539
1540 evergreen_cp_start(rdev); 1540 evergreen_cp_start(rdev);
1541 ring->ready = true; 1541 ring->ready = true;
1542 r = radeon_ring_test(rdev, ring); 1542 r = radeon_ring_test(rdev, RADEON_RING_TYPE_GFX_INDEX, ring);
1543 if (r) { 1543 if (r) {
1544 ring->ready = false; 1544 ring->ready = false;
1545 return r; 1545 return r;
@@ -3237,7 +3237,7 @@ static int evergreen_startup(struct radeon_device *rdev)
3237 if (r) 3237 if (r)
3238 return r; 3238 return r;
3239 3239
3240 r = r600_ib_test(rdev, RADEON_RING_TYPE_GFX_INDEX); 3240 r = radeon_ib_test(rdev, RADEON_RING_TYPE_GFX_INDEX, &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]);
3241 if (r) { 3241 if (r) {
3242 DRM_ERROR("radeon: failed testing IB (%d).\n", r); 3242 DRM_ERROR("radeon: failed testing IB (%d).\n", r);
3243 rdev->accel_working = false; 3243 rdev->accel_working = false;