drm/i915: allow userspace forcewake references also on gen7
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 24 Jan 2012 08:44:28 +0000 (09:44 +0100)
committerKeith Packard <keithp@keithp.com>
Tue, 24 Jan 2012 21:29:25 +0000 (13:29 -0800)
commit075edca43b819c33bd755eaf7a3bd0e1b3279f70
tree9a94d556702074c891dad7b521c1a6fd9f208d00
parent04115a9dee110b52a8eaa556c574022fa3bf4704
drm/i915: allow userspace forcewake references also on gen7

We need this to correctly access registers in the gt power well from
userspace.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_debugfs.c