Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06a139f7 authored by Christian König's avatar Christian König
Browse files

drm/radeon: clear needs_reset flag if IB test fails

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=76501



Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 2844ea3f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -262,6 +262,7 @@ int radeon_ib_ring_tests(struct radeon_device *rdev)
		r = radeon_ib_test(rdev, i, ring);
		if (r) {
			ring->ready = false;
			rdev->needs_reset = false;

			if (i == RADEON_RING_TYPE_GFX_INDEX) {
				/* oh, oh, that's really bad */