OSDN Git Service

drm/i915/dp: Convert link training error to debug message on disconnected sink
authorImre Deak <imre.deak@intel.com>
Wed, 10 May 2023 10:31:26 +0000 (13:31 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 16 May 2023 13:53:48 +0000 (16:53 +0300)
commit9031c6d4f78a1e801695d0c4d97724455c6e2a61
treef6f1d55bb5704fbb227063cdce138b466c02388c
parentf48eab29028769bb83e5fc9ff0b0ece56b1ba5b2
drm/i915/dp: Convert link training error to debug message on disconnected sink

If a sink is disconnected it's expected that link training actions will
fail on it, so downgrade the error messages about such actions to be a
debug message. Such - expected - link training failures are more
frequent after a follow up patch, after which an active TypeC link is
reset after the sink is disconnected which also involves a link
training.

v2:
- Check the actual HPD state to handle the forced connector state case.
  (Vinod)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (v1)
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230510103131.1618266-10-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_link_training.c