OSDN Git Service

drm/i915: Add a retry counter for hotplug detect retries
authorImre Deak <imre.deak@intel.com>
Mon, 30 Mar 2020 09:54:24 +0000 (12:54 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 6 Apr 2020 14:53:51 +0000 (17:53 +0300)
commit8c8919c7c99f097c9e6a441486c1c263277288b0
tree6f7486f13375589d0d6ddef6b7686387937dd2ac
parent848862e672883232f5f7f07a2d6628ed3f25444f
drm/i915: Add a retry counter for hotplug detect retries

On TypeC connectors we need to retry the detection after hotplug events
for a longer time, so add a retry counter to support this. The next
patch will add detection retries on TypeC ports needing this.

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-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_hdmi.c
drivers/gpu/drm/i915/display/intel_hotplug.c
drivers/gpu/drm/i915/display/intel_hotplug.h
drivers/gpu/drm/i915/display/intel_sdvo.c