From: Eric Anholt Subject: Re: [PATCH] [WIP] i965: Use up to 80 WM threads on GT2. Date: Mon, 28 Mar 2011 21:46:14 -0700 Message-ID: <8762r21qll.fsf@pollan.anholt.net> References: <1301334940-18506-1-git-send-email-eric@anholt.net> <20110328223736.GA21134@snipes.kumite> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1198166411==" Return-path: In-Reply-To: <20110328223736.GA21134@snipes.kumite> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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: Ben Widawsky Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1198166411== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, 28 Mar 2011 15:37:37 -0700, Ben Widawsky wrote: > On Mon, Mar 28, 2011 at 10:55:40AM -0700, Eric Anholt wrote: > > --- > > I suspect due to > > FORCEWAKE, which also means that I can't necessarily trust that the > > bit was unset originally), I got only hangs from 3D. >=20 > If you want to get some more possibly garbage data, you can set > forcewake from userspace, and hope the kernel doesn't unset it :). >=20 > intel_reg_write 0xa18c 1 > # check for ack > intel_reg_read 0x130090 >=20 > I've never tried it, but it might work at least for reading that first > bit. I'm currenty working around this with <1301105269-23970-1-git-send-e= mail-ben@bwidawsk.net> > and a hack in the kernel to do a get() and never do a put. I'm tempted by the idea of having a kernel interface for unpriveleged interfaces for reading these regs, which would allow for non-root gpu_top in addition to doing the forcewake. It'll suck to maintain a list of unpriveleged-OK regs, though. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk2RZBYACgkQHUdvYGzw6vcR7gCfc+XaSUsbibY7cMWcXTha8eBL KqwAnRRhpE1WfulFFBcPLg4mUWLrx/cD =OhSD -----END PGP SIGNATURE----- --=-=-=-- --===============1198166411== 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 --===============1198166411==--