[Intel-gfx] implement 'wait' instruction
Zhenyu Wang
zhenyuw at linux.intel.com
Fri Jul 2 10:01:20 CEST 2010
On 2010.07.01 11:39:47 -0700, Eric Anholt wrote:
> On Tue, 29 Jun 2010 11:04:09 +0800, Zhenyu Wang <zhenyuw at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100702/1ec8914a/attachment.sig>
More information about the Intel-gfx
mailing list