]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/gpu/drm/i915/intel_ddi.c
drm/i915: Leave FDI running after failed link training on LPT-H
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Dec 2015 20:22:50 +0000 (22:22 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Dec 2015 14:30:21 +0000 (16:30 +0200)
commita308ccb3a93bc665ed0f6bc864960795e2955532
treed5640ee946728db87ef0a2da7798bfacf416dcb3
parent503a74e98c3636a74444e6567dbdea44b855e8cb
drm/i915: Leave FDI running after failed link training on LPT-H

Currently we disable some parts of FDI setup after a failed link
training. But despite that we continue with the modeset as if everything
is fine. This results in tons of noise from the state checker, and
it means we're not following the proper modeset sequence for the rest of
crtc enabling, nor for crtc disabling.

Ideally we should abort the modeset and follow the proper disable
sequence to shut off everything we enabled so far, but that would
require a big rework of the modeset code. So instead just leave FDI
up and running in its untrained state, and log an error. This is
what we do on older platforms too.

v2: Fix a typo in the commit message

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1449260570-14670-1-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_ddi.c