aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2011-04-25 11:23:07 -0700
committerKeith Packard <keithp@keithp.com>2011-05-10 13:56:46 -0700
commitfcca7926299944841569515da321bef9655b7703 (patch)
tree3d3961db5e3d1821bd68c3c09365f9e557e61d55 /scripts/patch-kernel
parentdrm/i915: proper use of forcewake (diff)
downloadlinux-fcca7926299944841569515da321bef9655b7703.tar.gz
linux-fcca7926299944841569515da321bef9655b7703.zip
drm/i915: reference counted forcewake
Provide a reference count to track the forcewake state of the GPU and give a safe mechanism for userspace to wake the GT. This also potentially saves a UC read if the GT is known to be awake already. The reference count is atomic, but the register access and hardware wake sequence is protected by struct_mutex. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions