[Intel-gfx] [PATCH] [WIP] i965: Use up to 80 WM threads on GT2.

Eric Anholt eric at anholt.net
Tue Mar 29 06:46:14 CEST 2011


On Mon, 28 Mar 2011 15:37:37 -0700, Ben Widawsky <ben at bwidawsk.net> 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.
> 
> If you want to get some more possibly garbage data, you can set
> forcewake from userspace, and hope the kernel doesn't unset it :).
> 
> intel_reg_write 0xa18c 1
> # check for ack
> intel_reg_read 0x130090
> 
> 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-email-ben at 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.
-------------- 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/20110328/666fb448/attachment.sig>


More information about the Intel-gfx mailing list