From: Ville Syrjälä Date: Fri, 21 Nov 2014 19:00:36 +0000 (+0200) Subject: drm/i915: Don't clobber crtc->new_config when nothing changes X-Git-Tag: omap-for-v3.20/drop-legacy-3517~77^2~9^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9950a133f8bcfbe30ad11ae27ed75668fffe5cd;p=pandora-kernel.git drm/i915: Don't clobber crtc->new_config when nothing changes When doing a nop modeset we currently leave crtc->new_config point at the already freed temporary pipe_config. That will anger the sanity checks in intel_modeset_update_state() when the nop modeset gets followed by a GPU reset on gen3/4 where the display block gets fully reinitialized during the reset. So leave crtc->new_config alone until we know a modeset is actually required. Cc: Jesse Barnes Signed-off-by: Ville Syrjälä Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed