]> git.baikalelectronics.ru Git - kernel.git/commit
DRM/i915: Don't delete DPLL Multiplier during DAC init.
authorEgbert Eich <eich@suse.de>
Sun, 14 Oct 2012 14:33:11 +0000 (16:33 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 Oct 2012 07:33:38 +0000 (09:33 +0200)
commit59b2562a0bfb3ddca3e3e3d42d573e5a823f1124
tree28cb1bce4f4b7538e68b289a88867f01bf7ddfe8
parent21c87ec2f04bd764e70425b009ee6968d9cd9413
DRM/i915: Don't delete DPLL Multiplier during DAC init.

The DPLL multipiler is set up in intel_display.c:i9xx_update_pll()
called from i9xx_crtc_mode_set().
There the DPLL multiplier is adjusted so that the SDVO gets a sufficient
bus clock.
When cloning a CRTC between an SDVO driven encoder and the standard
DAC the DAC setup code reseted the multiplier value to 1 thus undoing
the correct setup. There is no need to touch the multiplier in the DAC
setup code: the correct value (i.e. 1 in case no SDVO encoder is used)
is set by i9xx_update_pll() already.
A comment at the code suggested that this code is a left over from the
days when there was no setup for clone modes.

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c