drm/i915/dp: Suspend/resume DP tunnels
authorImre Deak <imre.deak@intel.com>
Tue, 20 Feb 2024 21:18:39 +0000 (23:18 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 27 Feb 2024 15:35:08 +0000 (17:35 +0200)
commitfb687904aae27c8bf5b5f653c0bf72171bd43b41
treed5084252740e45e6e071774dd781a8a9593285b0
parent7605d0e8c178b2408a9191df8f95b52df08cb63a
drm/i915/dp: Suspend/resume DP tunnels

Suspend and resume DP tunnels during system suspend/resume, disabling
the BW allocation mode during suspend, re-enabling it after resume. This
reflects the link's BW management component (Thunderbolt CM) disabling
BWA during suspend. Before any BW requests the driver must read the
sink's DPRX capabilities (since the BW manager requires this
information, so snoops for it on AUX), so ensure this read takes place.

Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240220211841.448846-20-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c