On 2010.07.01 11:39:47 -0700, Eric Anholt wrote: > On Tue, 29 Jun 2010 11:04:09 +0800, Zhenyu Wang <zhen...@linux.intel.com> > wrote: > > > > 'Wait' instruction allows EU to stop and wait notification > > register state clear to continue the execution. And we can > > clear the notifications through MMIO, so we can track EU > > execution step by step. > > > > I use below patch for implement 'wait' in mesa, and attach > > 'intel_eu_cont.c' program to kick EU to continue. This is > > useful in debugging sandybridge for me. > > Interesting. So are you able to get any more information out besides > "somebody is waiting"? Inspect register state, instruction pointer, > anything?
No yet, I believe something else like snapshot debug should be used for that, but some experiment gave me nothing. 'wait' is just handy for me to track thread execution process. > I can see how just getting "somebody is waiting" would be useful, > though, so I'd be happy to see these patches land. ok, I'll push them later. thanks. -- Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
signature.asc
Description: Digital signature
_______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx