drm/i915/dp: only use training pattern 3 on platforms that support it
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 Oct 2014 09:03:26 +0000 (11:03 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 30 Oct 2014 13:51:11 +0000 (15:51 +0200)
commit7809a61176b385ebb3299ea43c58b1bb31ffb8c0
tree436fce21c4fdab0ff19c7cb6cf30d9957b271d71
parentb2a9601c587dbc5536546aa54009d1130adedd72
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>
drivers/gpu/drm/i915/intel_dp.c