[mipsel+rs780e]Occasionally "GPU lockup" after resuming from suspend.

2012-02-29 Thread che...@lemote.com
> On Tue, 2012-02-21 at 18:37 +0800, Chen Jie wrote: >> ? 2012?2?17? ??5:27?Chen Jie ??? >> >> One good way to test gart is to go over GPU gart table and write a >> >> dword using the GPU at end of each page something like 0xCAFEDEAD >> >> or somevalue that is unlikely to be already set. And then

[mipsel+rs780e]Occasionally "GPU lockup" after resuming from suspend.

2012-02-29 Thread che...@lemote.com
> On Mon, 2012-02-27 at 10:44 +0800, Chen Jie wrote: >> Hi, >> >> For this occasional GPU lockup when returns from STR/STD, I find >> followings(when the problem happens): >> >> The value of SRBM_STATUS is whether 0x20002040 or 0x20003040. >> Which means: >> * HI_RQ_PENDING(There is a HI/BIF reques

[mipsel+rs780e]Occasionally "GPU lockup" after resuming from suspend.

2011-12-07 Thread che...@lemote.com
When "MC timeout" happens at GPU reset, we found the 12th and 13th bits of R_000E50_SRBM_STATUS is 1. From kernel code we found these two bits are like this: #define G_000E50_MCDX_BUSY(x) (((x) >> 12) & 1) #define G_000E50_MCDW_BUSY(x) (((x) >> 13) & 1) Co

[mipsel+rs780e]Occasionally "GPU lockup" after resuming from suspend.

2011-12-08 Thread che...@lemote.com
Thank you for your reply. I found CP_RB_WPTR has changed when "ring test failed", so I think CP is active, but what it get from ring buffer is wrong. Then, I want to know whether there is a way to check the content that GPU get from ring buffer. BTW, when I use "echo shutdown > /sys/power/disk; e

[mipsel+rs780e]Occasionally "GPU lockup" after resuming from suspend.

2011-12-16 Thread che...@lemote.com
> On Don, 2011-12-08 at 19:35 +0800, chenhc at lemote.com wrote: >> >> I found CP_RB_WPTR has changed when "ring test failed", so I think CP is >> active, but what it get from ring buffer is wrong. > > CP_RB_WPTR is normally only changed by the CPU after adding commands to > the ring buffer, so I'm

[mipsel+rs780e]Occasionally "GPU lockup" after resuming from suspend.

2011-11-08 Thread che...@lemote.com
And, I want to know something: 1, Does GPU use MC to access GTT? 2, What can cause MC timeout? > Hi, > > Some status update. > ? 2011?9?29? ??5:17?Chen Jie ??? >> Hi, >> Add more information. >> We got occasionally "GPU lockup" after resuming from suspend(on mipsel >> platform with a mips64 compa

[mipsel+rs780e]Occasionally "GPU lockup" after resuming from suspend.

2012-03-01 Thread che...@lemote.com
Status update: In r600.c I found for RS780, num_*_threads are like this: sq_thread_resource_mgmt = (NUM_PS_THREADS(79) | NUM_VS_THREADS(78) | NUM_GS_THREADS(4) | NUM_ES_T