OSDN Git Service

drm/i915: Extend hotplug detect retry on TypeC connectors to 5 seconds
authorImre Deak <imre.deak@intel.com>
Mon, 30 Mar 2020 09:54:25 +0000 (12:54 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 6 Apr 2020 14:53:56 +0000 (17:53 +0300)
commitb4df5405f3e67e408554c9fd837faa3789b2ac32
treeb9416e4a23d683a18ccbbf5233a46648c8fed258
parent8c8919c7c99f097c9e6a441486c1c263277288b0
drm/i915: Extend hotplug detect retry on TypeC connectors to 5 seconds

On TypeC ports if a sink deasserts/reasserts its HPD signal, generating
a hotplug interrupt without the sink getting unplugged/replugged from
the connector, there can be an up to 3 seconds delay until the AUX
channel gets functional. To avoid detection failures this delay causes
retry the detection for 5 seconds.

I noticed this on ICL/TGL RVPs and a DELL XPS 13 7390 ICL laptop.

References: https://gitlab.freedesktop.org/drm/intel/issues/1067
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200330095425.29113-2-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c