Skip to contentSkip to conversation

drm/radeon: clear needs_reset flag if IB test fails

PATCH In review Christian König 2 participants 4 messages Mar 26, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 15e44a7..8391fca 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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.

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
index 15e44a7..8391fca 100644
@@ -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

#2 lore raw

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.

You might want to add the link to the bug.

Good point.

Quoted 3 lines

Other than that:

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
index 15e44a7..8391fca 100644
@@ -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

#3 lore raw
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.

You might want to add the link to the bug.

Good point.

Quoted 8 lines
Quoted 3 lines

Other than that:

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
index 15e44a7..8391fca 100644
@@ -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