drm/i915: Disable pwrctx before unpin and free
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 11 Nov 2009 17:19:18 +0000 (12:19 -0500)
committerEric Anholt <eric@anholt.net>
Tue, 1 Dec 2009 00:27:23 +0000 (16:27 -0800)
commitc1b5dea097258b3d3d570d5ccc8f4bf5accb3f29
tree0d155441a03e806332621c661336dadefbf86a87
parent69341a5e01897714f968b7dccb94f57137acf45f
drm/i915: Disable pwrctx before unpin and free

Otherwise the chip may scribble over free memory.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c