]> www.infradead.org Git - nvme.git/commit
drm/i915/dp: Reset cached LTTPR count if number of LTTPRs is unsupported
authorImre Deak <imre.deak@intel.com>
Mon, 8 Jul 2024 19:00:26 +0000 (22:00 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 11 Jul 2024 18:12:06 +0000 (21:12 +0300)
commit4613aa66e42ba1b0c896495a207b3b26e94e44d5
tree993b809537c9413540d836bce76d78f79ace3f20
parent211ad49cf8ccfdc798a719b4d1e000d0a8a9e588
drm/i915/dp: Reset cached LTTPR count if number of LTTPRs is unsupported

After detection the cached LTTPR count can be checked to determine if
LTTPRs in non-transparent mode were detected. Reset the cached LTTPR
count if the reported number of LTTPRs is invalid to ensure the above
checks work as expected.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240708190029.271247-4-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_link_training.c