summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ddi.c
diff options
context:
space:
mode:
authorDamien Lespiau2013-03-07 16:30:26 +0100
committerDaniel Vetter2013-03-23 13:27:44 +0100
commitaaa148ecdc1f416ada73c1c25da0ef67e0210273 (patch)
treee1cb01ee285de95267b387a39dd273616401fb8a /drivers/gpu/drm/i915/intel_ddi.c
parentdrm/i915: Error out if we are trying to use VGA with SPLL already in use (diff)
downloadkernel-qcow2-linux-aaa148ecdc1f416ada73c1c25da0ef67e0210273.tar.gz
kernel-qcow2-linux-aaa148ecdc1f416ada73c1c25da0ef67e0210273.tar.xz
kernel-qcow2-linux-aaa148ecdc1f416ada73c1c25da0ef67e0210273.zip
drm/i915: Cleanup if the EDP transcoder has a bobug input value
In the case where the hardware has been wrongly programmed and the EDP TRANS_DDI_FUNC_CTL register has a bogus value in its EDP Input field, we were using the pipe variable uninitialized. In this case, shutdown the transcoder. It will be programmed correctly the next time we try to enabled eDP. Note from Paulo's review: Wrong modeset sequence can easily lead to frozen machines hence the disable_ddi call might be risky. But since things are awry already, doesn't matter too much. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> [danvet: Add note about Paulo's caution about potential hangs.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ddi.c')
0 files changed, 0 insertions, 0 deletions