OSDN Git Service

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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 23 Mar 2021 12:26:59 +0000 (08:26 -0400)
commitab03631087f5c296030dd86265ea02dcdacc6802
treef7e19a04aa7310fc7faf7f483e81f6b1df813989
parent7dffbdedb96a076843719d4ea5b2cd666481c416
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
(cherry picked from commit 1663ad4936e0679443a315fe342f99636a2420dd)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_dp_link_training.c