[Intel-gfx] implement 'wait' instruction

Eric Anholt eric at anholt.net
Thu Jul 1 20:39:47 CEST 2010


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?

I can see how just getting "somebody is waiting" would be useful,
though, so I'd be happy to see these patches land.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100701/4ce2a9c1/attachment.sig>


More information about the Intel-gfx mailing list