From: Ville Syrjälä Date: Mon, 2 Dec 2013 09:08:06 +0000 (+0200) Subject: drm/i915: Take modeset locks around intel_modeset_setup_hw_state() X-Git-Tag: v3.13-rc5~29^2~7^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027476642811f8559cbe00ef6cc54db230e48a20;p=pandora-kernel.git drm/i915: Take modeset locks around intel_modeset_setup_hw_state() Some lower level things get angry if we don't have modeset locks during intel_modeset_setup_hw_state(). Actually the resume and lid_notify codepaths alreday hold the locks, but the init codepath doesn't, so fix that. Note: This slipped through since we only disable pipes if the plane/pipe linking doesn't match. Which is only relevant on older gen3 mobile machines, if the BIOS fails to set up our preferred linking. Signed-off-by: Ville Syrjälä Cc: stable@vger.kernel.org Tested-and-reported-by: Paul Bolle [danvet: Add note now that I could confirm my theory with the log files Paul Bolle provided.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed