[Intel-gfx] enabling forcewake from userspace
chris at chris-wilson.co.uk
Sat Mar 26 00:11:55 PDT 2011
On Fri, 25 Mar 2011 19:23:58 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> The only other option floating around is IOCTLs to read/write the
> registers, which previously seemed like a bad idea, but is now looking
> like the only option.
The lazy option is to cross your fingers and do the forced-wake from
userspace debug tools. I'm not exactly wild about the idea, but it does
cut down on the number of blessed interfaces for touching hardware.
The other option is to continue to extend the debugfs to print out groups
of registers of interest. Maybe this would be a good addition to the
An ioctl does seem to be a better longterm solution. But maybe we can
ignore the problem for a few more years? ;-)
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx