diff options
author | Christian König <christian.koenig@amd.com> | 2014-03-25 11:41:40 +0100 |
---|---|---|
committer | Show Liu <show.liu@linaro.org> | 2014-06-18 12:03:46 +0800 |
commit | dc00b6200c5dbdbdfc0ceafc5e0152426cd7615b (patch) | |
tree | b5104de357f8432066ca46c5fece9bcf5bd18d17 /drivers/gpu/drm | |
parent | ee3ca47aece29c8806dcd05301b4daf87b7389ae (diff) |
drm/radeon: clear needs_reset flag if IB test fails
commit 06a139f7a0885fa2c84962300edd181821ddc2c9 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=76501
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_ring.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_ring.c b/drivers/gpu/drm/radeon/radeon_ring.c index 15e44a7281a..8391fca52a5 100644 --- a/drivers/gpu/drm/radeon/radeon_ring.c +++ b/drivers/gpu/drm/radeon/radeon_ring.c @@ -257,6 +257,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 */ |