drm/i915: save/resume forcewake lock fixes
authorBen Widawsky <ben@bwidawsk.net>
Wed, 22 Jun 2011 16:55:01 +0000 (09:55 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 22 Jun 2011 17:28:33 +0000 (10:28 -0700)
commit483f1798998ede75b2575cc1813c3d89ba64a34e
tree4113981d1105b1a97840ba3362962b52f8982252
parente92d03bff9a0d0bcbb812c9b1290ca96c9338d45
drm/i915: save/resume forcewake lock fixes

The lock must be held for the saving and restoring of VGA state.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
CC: Alexander Zhaunerchyk <alex.vizor@gmail.com>
CC: Andrey Rahmatullin <wrar@wrar.name>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_suspend.c