drm/i915: debugfs interface for forcewake reference count
authorBen Widawsky <ben@bwidawsk.net>
Mon, 25 Apr 2011 18:25:56 +0000 (11:25 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 10 May 2011 20:56:48 +0000 (13:56 -0700)
commit6d794d4250284917fa394c550f054f5fd801f50f
treecaedd09d3bf580b703cc300a7b538e23d523601e
parent4912d04193733a825216b926ffd290fada88ab07
drm/i915: debugfs interface for forcewake reference count

forcewake is controlled by the open and close of the debugfs file. This
assures that buggy applications cannot cause the GT to stay on forever.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_debugfs.c