On Wed, Feb 01, 2012 at 10:23:05PM -0200, Eugeni Dodonov wrote: > On Wed, Feb 1, 2012 at 19:39, Chris Wilson <chris at chris-wilson.co.uk> wrote: > > > On Wed, 1 Feb 2012 22:26:45 +0100, Daniel Vetter <daniel.vetter at ffwll.ch> > > wrote: > > > Chris Wilson and me have again stared at funny error states and it's > > > been pretty clear from the start that something was seriously amiss. > > > The seqnos last seen by the cpu were a few hundred behind those that > > > the gpu could have possibly emitted last before it died ... > > > > > > Chris now tracked it down (hopefully, definit verdict's still out), > > > but in hindsight we'd have found the bug by simply dumping the cpu > > > side tracking of the ring head and tail registers. > > > > > > Fix this and prevent an identical time-waster in the future. > > > > > > Because the hangs always involved semaphores in one way or another, > > > we've tried to dump the mbox registers, but couldn't find any > > > inconsistencies. Still, dump them too. > > > > > > Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch> > > Reviewed-and-wanted-by: Chris Wilson <chris at chris-wilson.co.uk> > > Yeah!! Thanks a lot for that. > > Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com> Queued for -next, thanks for the review. -Daniel -- Daniel Vetter Mail: daniel at ffwll.ch Mobile: +41 (0)79 365 57 48