drm/radeon: clear needs_reset flag if IB test fails
Subsystems (2)
PATCH 1/1 drm/radeon: clear needs_reset flag if IB test fails
From: Christian König <[email protected]>
If the IB test fails we don't want to reset the card over and over again, just accept that it isn't working.
--- drivers/gpu/drm/radeon/radeon_ring.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/radeon/radeon_ring.c +1 -0
@@ -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 */
Signature · 6 lines
1.9.1 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Christian König
From: Christian König <[email protected]>
If the IB test fails we don't want to reset the card over and over again, just accept that it isn't working.
Signed-off-by Christian König <[email protected]>
You might want to add the link to the bug. Other than that:
Quoted 19 lines
--- drivers/gpu/drm/radeon/radeon_ring.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/radeon/radeon_ring.c +1
-1@@ -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 */ --1.9.1
Am 26.03.2014 14:03, schrieb Alex Deucher:
Quoted 10 lines
Quoted 7 lines · Christian König
From: Christian König <[email protected]>
If the IB test fails we don't want to reset the card over and over again, just accept that it isn't working.
Signed-off-by Christian König <[email protected]>You might want to add the link to the bug.
Good point.
Quoted 3 lines
Other than that:
Reviewed-by Alex Deucher <[email protected]>
Do you think there will be another drm-fixes-3.14 this patch might become part of or should we pull it in through drm-next-3.15?
Christian.
Quoted 20 lines
Quoted 20 lines
--- drivers/gpu/drm/radeon/radeon_ring.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/radeon/radeon_ring.c +1
-1@@ -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 */ --1.9.1
Quoted 19 lines · Christian König
Am 26.03.2014 14:03, schrieb Alex Deucher:
Quoted 5 lines
Quoted 3 lines · Christian König
From: Christian König <[email protected]>
Quoted 7 lines
Quoted 5 lines
If the IB test fails we don't want to reset the card over and over again, just accept that it isn't working.
Signed-off-by Christian König <[email protected]>You might want to add the link to the bug.
Good point.
Quoted 8 lines
Quoted 3 lines
Other than that:
Reviewed-by Alex Deucher <[email protected]>Do you think there will be another drm-fixes-3.14 this patch might become part of or should we pull it in through drm-next-3.15?
Probably 3.15 at this point.
Alex
Quoted 25 lines
Christian.
Quoted 21 lines
Quoted 21 lines
--- drivers/gpu/drm/radeon/radeon_ring.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/radeon/radeon_ring.c +1
-1@@ -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 */ --1.9.1