]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21d9aa135441cd2d26cc490dd112c868eaa2b1c1
treeb9416e4a23d683a18ccbbf5233a46648c8fed258
parentd354b504d9c4a515656f0d3eef1543ba8c2ac0a5
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