Commit 59197128 authored by Christian König's avatar Christian König Committed by Kamal Mostafa

drm/radeon: clear needs_reset flag if IB test fails

commit 06a139f7 upstream.

If the IB test fails we don't want to reset the card over
and over again, just accept that it isn't working.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76501Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent a9d247b1
...@@ -257,6 +257,7 @@ int radeon_ib_ring_tests(struct radeon_device *rdev) ...@@ -257,6 +257,7 @@ int radeon_ib_ring_tests(struct radeon_device *rdev)
r = radeon_ib_test(rdev, i, ring); r = radeon_ib_test(rdev, i, ring);
if (r) { if (r) {
ring->ready = false; ring->ready = false;
rdev->needs_reset = false;
if (i == RADEON_RING_TYPE_GFX_INDEX) { if (i == RADEON_RING_TYPE_GFX_INDEX) {
/* oh, oh, that's really bad */ /* oh, oh, that's really bad */
......
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