From: Ville Syrjälä Date: Tue, 14 Jan 2014 12:31:38 +0000 (+0200) Subject: drm/i915: Set crtc->new_config to NULL for pipes that are about to be disabled X-Git-Tag: v3.15-rc1~51^2~62^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bd0a8e74acc608b77008a6ee9c0198c684ea38b;p=pandora-kernel.git drm/i915: Set crtc->new_config to NULL for pipes that are about to be disabled crtc->new_config is only relevant for pipes that are going to be active post-modeset. Set the pointer to NULL for all pipes that are going to be disabled. This is done to help catch bugs where some piece of code would go looking at crtc->new_config even if the data there is stale. v2: Clear new_config in disable_crtc_nofb() too (Imre) Suggested-by: Daniel Vetter Signed-off-by: Ville Syrjälä Reviewed-by: Imre Deak Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed