summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2014-11-12 16:25:42 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-11-14 10:29:27 +0100
commitf7faa1ef175d34d600df6eb21d16b596088a608e (patch)
tree299811df7e80c0ab7957ff547828fd20d3443916 /lib/mpi/mpi-pow.c
parent5ea13be5badca78a11921b864db380274279c8b9 (diff)
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 <jani.nikula@intel.com> [danvet: Make it a bit clearer that we nowhere depend upon these bits.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions