From: Daniel Vetter Date: Thu, 11 Apr 2013 18:22:50 +0000 (+0200) Subject: drm/i915: don't check inconsistent modeset state when force-restoring X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~55^2~40^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f30da187cdcd0939288038e11fb3bfbd1b655564;p=pandora-kernel.git drm/i915: don't check inconsistent modeset state when force-restoring It will be only consistent once we've restored all the crtcs. Since a bunch of other callers also want to just restore a single crtc, add a boolean to disable checking only where it doesn't make sense. Note that intel_modeset_setup_hw_state already has a call to intel_modeset_check_state at the end, so we don't reduce the amount of checking. v2: Try harder not to create a big patch (Chris). v3: Even smaller (still Chris). Also fix a trailing space. References: https://lkml.org/lkml/2013/3/16/60 Cc: Tomas Melin Cc: Richard Cochran Cc: Chris Wilson Cc: stable@vger.kernel.org Reviewed-by: Chris Wilson Tested-by: Tomas Melin Tested-by: Richard Cochran Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed