From: Ander Conselvan de Oliveira Date: Wed, 29 Oct 2014 09:32:30 +0000 (+0200) Subject: drm/i915: Make *_crtc_mode_set work on new_config X-Git-Tag: omap-for-v3.20/drop-legacy-3517~77^2~64^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0737e1d5944f570d5151ae6213952058c18a903;p=pandora-kernel.git drm/i915: Make *_crtc_mode_set work on new_config This shouldn't change the behavior of those functions, since they are called after the new_config is made effective and that points to the current config. In a follow up patch, the mode set sequence will be changed so this is called before disabling crtcs, and in that case those functions should work on the staged config. Signed-off-by: Ander Conselvan de Oliveira [danvet: Flatten if by moving the check into the WARN.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed