drm/i915: move gen6 rps handling to workqueue
authorBen Widawsky <ben@bwidawsk.net>
Mon, 25 Apr 2011 18:25:20 +0000 (11:25 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 10 May 2011 20:56:47 +0000 (13:56 -0700)
The render P-state handling code requires reading from a GT register.
This means that FORCEWAKE must be written to, a resource which is shared
and should be protected by struct_mutex. Hence we can not manipulate
that register from within the interrupt handling and so must delegate
the task to a workqueue.

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>

No differences found