[Bug 25717] Radeon: system locks up when sending many vertices.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 9 10:44:27 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=25717

--- Comment #8 from Nicolas Kaiser <nikai at nikai.net> 2011-02-09 10:44:27 PST ---
(In reply to comment #7)
> Maybe gltestperf doesn't lock up, it's just slow. On my lappy, it takes 9
> seconds to complete. If it takes more than 10 seconds, kernel will consider it
> a lock-up, even though it's not.

Yes, indeed. Now I disabled lockups like this ...

 drivers/gpu/drm/radeon/r100.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index 5f15820..ce5ea3d 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -2036,7 +2036,7 @@ bool r100_gpu_cp_is_lockup(struct radeon_device *rdev,
struct r100_gpu_lockup *l
     elapsed = jiffies_to_msecs(cjiffies - lockup->last_jiffies);
     if (elapsed >= 10000) {
         dev_err(rdev->dev, "GPU lockup CP stall for more than %lumsec\n",
elapsed);
-        return true;
+//        return true;
     }
     /* give a chance to the GPU ... */
     return false;


... and gltestperf finished successfully.
According to the below results, it takes more than 13 seconds at my place:

Feb  9 19:32:40 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 10000msec
Feb  9 19:32:40 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 10500msec
Feb  9 19:32:41 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 11000msec
Feb  9 19:32:41 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 11500msec
Feb  9 19:32:42 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 12000msec
Feb  9 19:32:42 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 12500msec
Feb  9 19:32:43 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 13000msec
Feb  9 19:32:54 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 10000msec
Feb  9 19:32:55 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 10500msec
Feb  9 19:32:55 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 11000msec
Feb  9 19:32:56 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 11500msec
Feb  9 19:32:56 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 12000msec
Feb  9 19:32:57 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 12500msec
Feb  9 19:32:57 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 13000msec
Feb  9 19:33:09 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 10000msec
Feb  9 19:33:10 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 10500msec
Feb  9 19:33:10 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 11000msec
Feb  9 19:33:10 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 11500msec
Feb  9 19:33:11 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 12000msec
Feb  9 19:33:12 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 12500msec
Feb  9 19:33:12 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 13000msec
Feb  9 19:33:24 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 10000msec
Feb  9 19:33:24 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 10500msec
Feb  9 19:33:25 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 11000msec
Feb  9 19:33:25 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 11500msec
Feb  9 19:33:26 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 12000msec
Feb  9 19:33:26 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 12500msec
Feb  9 19:33:27 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 13000msec
Feb  9 19:33:38 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 10000msec
Feb  9 19:33:39 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 10500msec
Feb  9 19:33:39 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 11000msec
Feb  9 19:33:40 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 11500msec
Feb  9 19:33:40 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 12000msec
Feb  9 19:33:41 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 12500msec
Feb  9 19:33:41 absol kernel: radeon 0000:01:05.0: GPU lockup CP stall for more
than 13000msec

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list