From: Jani Nikula Date: Wed, 12 Nov 2014 14:25:42 +0000 (+0200) Subject: drm/i915: don't save/restore panel fitter registers X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~14^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7faa1ef175d34d600df6eb21d16b596088a608e;p=pandora-kernel.git drm/i915: don't save/restore panel fitter registers AFAICT i9xx_pfit_disable() on the GMCH display crtc disable path in i9xx_crtc_disable() will always disable the panel fitter by writing 0 to PFIT_CONTROL. The register save will always save/restore 0. Also we completely recompue both in intel_gmch_panel_fitting so there's no way we depend upon leftover bits. Move the PFIT_CONTROL and PFIT_PGM_RATIOS save/restore to UMS code. While at it, save/restore them both under the same conditions. Signed-off-by: Jani Nikula [danvet: Make it a bit clearer that we nowhere depend upon these bits.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed