From: Daniel Stone Date: Thu, 19 Mar 2015 04:33:03 +0000 (+0000) Subject: drm: crtc_helper: Update hwmode before mode_set call X-Git-Tag: omap-for-v4.2/o2_dc~72^2~19^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a27528ade3f5714e565db3c0dd35b6b3f7c1f31;p=pandora-kernel.git drm: crtc_helper: Update hwmode before mode_set call Just as we provide crtc->mode pre-populated with the requested mode, move adjusted_mode into hwmode before we call the crtc's mode_set, making sure to restore it on failure. Allows drivers which thoughtlessly discard adjusted_mode in their mode_set hooks (e.g. Exynos) to use hwmode directly, and also provides some neat symmetry with crtc->mode. Signed-off-by: Daniel Stone Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed