drm/i915/dp: read sink UHBR rates
authorJani Nikula <jani.nikula@intel.com>
Mon, 23 Aug 2021 16:18:07 +0000 (19:18 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 24 Aug 2021 08:00:44 +0000 (11:00 +0300)
commit9ab29e1501595975b89692207b22b59b9308e9eb
tree7cb821ea35df0de63afc533c4b2cd561847d8a77
parentf5b21c2e3da4594140b916dfed0e007d3fe8267c
drm/i915/dp: read sink UHBR rates

See if sink supports DP 2.0 128b/132b channel encoding, and update sink
rates accordingly.

FIXME: Also take LTTPR 128b/132b into account.

v2: Add build-time check for ->sink_rates size (Ville)

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/089d807e887d308c52c84cf58dfb6777de18872d.1629735412.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dp.c