mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 23:48:56 -04:00
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: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user