]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/i915/dp: Wait for FEC detected status in the sink
authorImre Deak <imre.deak@intel.com>
Tue, 24 Oct 2023 01:09:14 +0000 (04:09 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 8 Nov 2023 15:22:16 +0000 (17:22 +0200)
commit6e916b35afa8a3729b254cdd839fa12618e8591f
tree00d0bc9235a67ea9ce2434209d466c801feefe20
parent0cfdf662d4ef71569c8b9a628defd51586e102c3
drm/i915/dp: Wait for FEC detected status in the sink

As required by the DP standard wait for the sink to detect the FEC
decode enabling symbol sent by the source.

There is a difference between SST and MST when the source enables
the FEC encoding: on SST this happens only after enabling the
transcoder, whereas on MST it happens already after enabling the
transcoder function (before enabling the transcoder). Wait for the
detected status at the earliest spot accordingly.

v2:
- Wait for the FEC detected status on SST after the transcoder is
  enabled.

Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231030155843.2251023-20-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_ddi.h
drivers/gpu/drm/i915/display/intel_dp_mst.c