]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: set default value for config->pixel_multiplier
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 1 Jun 2013 15:17:04 +0000 (17:17 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Jun 2013 20:16:22 +0000 (22:16 +0200)
commitef1b460d1bab7e5b04c34f88c3dfa042528e7c27
tree3ca5878aab5bd02f5962b6c4e6e36627bb634ecf
parentc2a2a1a722b7e4edce7dad285b461e0b2592eecc
drm/i915: set default value for config->pixel_multiplier

This way we can simplify the code quite a bit.

Also add a WARN in the sdvo code to complain about a bogus value
and kill the readout code in intel_ddi.c that Jesse sneaked in.
HW state readout for the pixel multiplier will work a bit differently
in the end.

v2: Rebase on top of the fdi pixel mutliplier handling fix.

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_sdvo.c