drm/i915: hw state readout support for pixel_multiplier
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Jun 2013 10:45:25 +0000 (12:45 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Jun 2013 12:58:36 +0000 (14:58 +0200)
commit6c49f24180c308a07be3f1d59ee7af33184ba17e
treebe3c4ae4cd11f18bb379fe9d5d0038882d75428e
parent14420bd0065c1757a353e36ebc9cc4bdc6932dcd
drm/i915: hw state readout support for pixel_multiplier

Incomplete since ilk+ support needs proper pch dpll tracking first.
SDVO get_config parts based on a patch from Jesse Barnes, but fixed up
to actually work.

v2: Make sure that we call encoder->get_config _after_ we
get_pipe_config to be consistent in both setup_hw_state and the
modeset state checker. Otherwise the clever trick with handling the
pixel mutliplier on i915G/GM where the encoder overrides the default
value of 1 from the crtc get_pipe_config function doesn't work.
Spotted by Imre Deak.

v3: Actually cross-check the pixel mutliplier (but not on pch split
platforms for now). Now actually also tested on a i915G with a sdvo
encoder plugged in.

Cc: Imre Deak <imre.deak@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_sdvo.c
This page took 0.038197 seconds and 5 git commands to generate.