drm/i915: Disable LTTPR support when the LTTPR rev < 1.4
authorImre Deak <imre.deak@intel.com>
Wed, 17 Mar 2021 18:49:01 +0000 (20:49 +0200)
committerImre Deak <imre.deak@intel.com>
Fri, 19 Mar 2021 10:50:48 +0000 (12:50 +0200)
commit1663ad4936e0679443a315fe342f99636a2420dd
treec7bed1c66ebb40e56b22019762b96698732eaf67
parent264613b406eb0d74cd9ca582c717c5e2c5a975ea
drm/i915: Disable LTTPR support when the LTTPR rev < 1.4

By the specification the 0xF0000 - 0xF02FF range is only valid if the
LTTPR revision at 0xF0000 is at least 1.4. Disable the LTTPR support
otherwise.

Fixes: 7b2a4ab8b0ef ("drm/i915: Switch to LTTPR transparent mode link training")
Cc: <stable@vger.kernel.org> # v5.11
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210317184901.4029798-4-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_link_training.c