Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/dp: only use training pattern 3 on platforms that support it

Ivybridge + 30" monitor prints a drm error on every modeset, since IVB
doesn't support DP3 we should even bother trying to use it.

This regression has been introduced in

commit 06ea66b6bb445043dc25a9626254d5c130093199
Author: Todd Previte <tprevite@gmail.com>
Date: Mon Jan 20 10:19:39 2014 -0700

drm/i915: Enable 5.4Ghz (HBR2) link rate for Displayport 1.2-capable
devices

Reported-by: Dave Airlie <airlied@redhat.com>
Reference: http://mid.gmane.org/1414566170-9868-1-git-send-email-airlied@gmail.com
Cc: Todd Previte <tprevite@gmail.com>
Cc: stable@vger.kernel.org (3.15+)
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

+3 -2
+3 -2
drivers/gpu/drm/i915/intel_dp.c
··· 3731 3731 } 3732 3732 } 3733 3733 3734 - /* Training Pattern 3 support */ 3734 + /* Training Pattern 3 support, both source and sink */ 3735 3735 if (intel_dp->dpcd[DP_DPCD_REV] >= 0x12 && 3736 - intel_dp->dpcd[DP_MAX_LANE_COUNT] & DP_TPS3_SUPPORTED) { 3736 + intel_dp->dpcd[DP_MAX_LANE_COUNT] & DP_TPS3_SUPPORTED && 3737 + (IS_HASWELL(dev_priv) || INTEL_INFO(dev_priv)->gen >= 8)) { 3737 3738 intel_dp->use_tps3 = true; 3738 3739 DRM_DEBUG_KMS("Displayport TPS3 supported\n"); 3739 3740 } else