From: Ben Widawsky Date: Mon, 25 Apr 2011 18:25:20 +0000 (-0700) Subject: drm/i915: move gen6 rps handling to workqueue X-Git-Tag: v3.0-rc1~312^2~4^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4912d04193733a825216b926ffd290fada88ab07;p=pandora-kernel.git drm/i915: move gen6 rps handling to workqueue 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 Signed-off-by: Chris Wilson Signed-off-by: Keith Packard --- Reading git-diff-tree failed