From: Eric Anholt Subject: Re: implement 'wait' instruction Date: Thu, 01 Jul 2010 11:39:47 -0700 Message-ID: <87bparhwr0.fsf@pollan.anholt.net> References: <20100629030409.GG10521@zhen-devel.sh.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1991420722==" Return-path: In-Reply-To: <20100629030409.GG10521@zhen-devel.sh.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Zhenyu Wang , intel-gfx List-Id: intel-gfx@lists.freedesktop.org --===============1991420722== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 29 Jun 2010 11:04:09 +0800, Zhenyu Wang w= rote: >=20 > '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. >=20 > 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. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkws4PMACgkQHUdvYGzw6venLQCfddlPUp1CzFuB02OBLEpE5Q3g R7wAnRbNVmrvJn5mcFLJI0hMpkyOT2OQ =jHx3 -----END PGP SIGNATURE----- --=-=-=-- --===============1991420722== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1991420722==--