Commit 13a7d299 authored by Christian König's avatar Christian König Committed by Alex Deucher

drm/radeon: move the IB test after the AGP fallback

Otherwise we won't test if the fallback to PCIe GART really worked.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarMichel Dänzer <michel.daenzer@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 484048db
...@@ -1397,10 +1397,6 @@ int radeon_device_init(struct radeon_device *rdev, ...@@ -1397,10 +1397,6 @@ int radeon_device_init(struct radeon_device *rdev,
if (r) if (r)
return r; return r;
r = radeon_ib_ring_tests(rdev);
if (r)
DRM_ERROR("ib ring test failed (%d).\n", r);
r = radeon_gem_debugfs_init(rdev); r = radeon_gem_debugfs_init(rdev);
if (r) { if (r) {
DRM_ERROR("registering gem debugfs failed (%d).\n", r); DRM_ERROR("registering gem debugfs failed (%d).\n", r);
...@@ -1418,6 +1414,10 @@ int radeon_device_init(struct radeon_device *rdev, ...@@ -1418,6 +1414,10 @@ int radeon_device_init(struct radeon_device *rdev,
return r; return r;
} }
r = radeon_ib_ring_tests(rdev);
if (r)
DRM_ERROR("ib ring test failed (%d).\n", r);
if ((radeon_testing & 1)) { if ((radeon_testing & 1)) {
if (rdev->accel_working) if (rdev->accel_working)
radeon_test_moves(rdev); radeon_test_moves(rdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment