drm/i915: don't try to retrain a DP link on an inactive CRTC
authorImre Deak <imre.deak@intel.com>
Mon, 18 Aug 2014 11:42:46 +0000 (14:42 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 18 Aug 2014 13:51:35 +0000 (16:51 +0300)
commit1a125d8a2c22b11741fc47d4ffcf7a5ffa044dd3
treed08ee1747c76cfbb5958203cef27500469677821
parent07f9cd0b3870e306ddc5abcc3af2d748c9bd378c
drm/i915: don't try to retrain a DP link on an inactive CRTC

Atm we may retrain the DP link even if the CRTC is inactive through
HPD work->intel_dp_check_link_status(). This in turn can lock up the PHY
(at least on BYT), since the DP port is disabled.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81948
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: stable@vger.kernel.org (3.16+)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c