summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorDaniel Vetter2013-06-06 12:45:25 +0200
committerDaniel Vetter2013-06-06 14:58:36 +0200
commit6c49f24180c308a07be3f1d59ee7af33184ba17e (patch)
treebe3c4ae4cd11f18bb379fe9d5d0038882d75428e /drivers/gpu/drm/i915/intel_pm.c
parentdrm/i915: Assert dpll running in intel_crtc_load_lut() on pre-PCH platforms (diff)
downloadkernel-qcow2-linux-6c49f24180c308a07be3f1d59ee7af33184ba17e.tar.gz
kernel-qcow2-linux-6c49f24180c308a07be3f1d59ee7af33184ba17e.tar.xz
kernel-qcow2-linux-6c49f24180c308a07be3f1d59ee7af33184ba17e.zip
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions