]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/lnl+/tc: Use the cached max lane count value
authorImre Deak <imre.deak@intel.com>
Mon, 11 Aug 2025 08:01:51 +0000 (11:01 +0300)
committerTvrtko Ursulin <tursulin@ursulin.net>
Mon, 18 Aug 2025 07:08:20 +0000 (08:08 +0100)
commitc5c2b4b3841666be3a45346d0ffa96b4b143504e
tree4cc8cdac9e31a4b0058877477fe209b3171bc0a0
parentc87514a0bb0a64507412a2d98264060dc0c1562a
drm/i915/lnl+/tc: Use the cached max lane count value

Use the cached max lane count value on LNL+, to account for scenarios
where this value is queried after the HW cleared the corresponding pin
assignment value in the TCSS_DDI_STATUS register after the sink got
disconnected.

For consistency, follow-up changes will use the cached max lane count
value on other platforms as well and will also cache the pin assignment
value in a similar way.

Cc: stable@vger.kernel.org # v6.8+
Reported-by: Charlton Lin <charlton.lin@intel.com>
Tested-by: Khaled Almahallawy <khaled.almahallawy@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250811080152.906216-5-imre.deak@intel.com
(cherry picked from commit afc4e84388079f4d5ba05271632b7a4d8d85165c)
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
drivers/gpu/drm/i915/display/intel_tc.c