drm/i915: Hold mode_config lock whilst changing mode for lastclose()
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Apr 2012 14:16:42 +0000 (15:16 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 16 Apr 2012 18:37:38 +0000 (20:37 +0200)
Upon lastclose(), we switch back to the fbcon configuration. This
requires taking the mode_config lock in order to serialise the change
with output probing elsewhere.

Reported-by: Oleksij Rempel <bug-track@fisher-privat.net>
References: https://bugs.freedesktop.org/show_bug.cgi?id=48652
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found