From: Chris Wilson Date: Mon, 16 Apr 2012 14:16:42 +0000 (+0100) Subject: drm/i915: Hold mode_config lock whilst changing mode for lastclose() X-Git-Tag: v3.4-rc4~24^2~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c291be9dba370ba696a0d482249a212cf5c15f45;p=pandora-kernel.git drm/i915: Hold mode_config lock whilst changing mode for lastclose() 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 References: https://bugs.freedesktop.org/show_bug.cgi?id=48652 Signed-off-by: Chris Wilson Cc: stable@kernel.org Acked-by: Jesse Barnes Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed