drm/i915: Hold struct_mutex while unreffing pwrctx object
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 11 Nov 2009 17:19:17 +0000 (12:19 -0500)
committerEric Anholt <eric@anholt.net>
Tue, 1 Dec 2009 00:27:07 +0000 (16:27 -0800)
commit69341a5e01897714f968b7dccb94f57137acf45f
tree03700d38756c254cf87e17d789606e9571f549ff
parent33db679b4ee94e5a55abb439a87905d76739095a
drm/i915: Hold struct_mutex while unreffing pwrctx object

This also extends the mutex to cover fbc disabling, which is safe.

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