drm/radeon: move the IB test after the AGP fallback
Subsystems (2)
PATCH 1/1 drm/radeon: move the IB test after the AGP fallback
From: Christian König <[email protected]>
Otherwise we won't test if the fallback to PCIe GART really worked.
Signed-off-by Christian König <[email protected]>
--- drivers/gpu/drm/radeon/radeon_device.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/radeon/radeon_device.c +4 -4
@@ -1397,10 +1397,6 @@ int radeon_device_init(struct radeon_device *rdev,if (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);if (r) {DRM_ERROR ("registering gem debugfs failed (%d).\n" , r);
@@ -1418,6 +1414,10 @@ int radeon_device_init(struct radeon_device *rdev,return r; } + r =radeon_ib_ring_tests (rdev); +if (r) +DRM_ERROR ("ib ring test failed (%d).\n" , r); +if ((radeon_testing &1 )) {if (rdev->accel_working)radeon_test_moves (rdev);
Signature · 6 lines
1.8.3.2 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 5 lines · Christian König
From: Christian König <[email protected]>
Otherwise we won't test if the fallback to PCIe GART really worked.
Signed-off-by Christian König <[email protected]>
Reviewed-by Michel Dänzer <[email protected]>
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Alex Deucher
AppliedQuoted 5 lines · Christian König
From: Christian König <[email protected]>
Otherwise we won't test if the fallback to PCIe GART really worked.
Signed-off-by Christian König <[email protected]>
Applied to my 3.18 tree.
Alex
Quoted 33 lines
--- drivers/gpu/drm/radeon/radeon_device.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/radeon/radeon_device.c +4
-5@@ -1397,10 +1397,6 @@ int radeon_device_init(struct radeon_device *rdev,if (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);if (r) {DRM_ERROR ("registering gem debugfs failed (%d).\n" , r);@@ -1418,6 +1414,10 @@ int radeon_device_init(struct radeon_device *rdev,return r; } + r =radeon_ib_ring_tests (rdev); +if (r) +DRM_ERROR ("ib ring test failed (%d).\n" , r); +if ((radeon_testing &1 )) {if (rdev->accel_working)radeon_test_moves (rdev); --1.8.3.2
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel