summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_dp_mst.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2019-06-28 17:36:24 +0300
committerImre Deak <imre.deak@intel.com>2019-07-01 14:50:23 +0300
commit1cd5ef6ee23cdde8afd53dd72b9f2f789c22f58c (patch)
tree0087e71205e9d2458790d30fc83bb0b7adb71e7f /drivers/gpu/drm/i915/display/intel_dp_mst.h
parent424f109f5c5d9c82a16d0c8dc033ff3d513c6e0f (diff)
downloadlinux-1cd5ef6ee23cdde8afd53dd72b9f2f789c22f58c.tar.gz
linux-1cd5ef6ee23cdde8afd53dd72b9f2f789c22f58c.tar.bz2
linux-1cd5ef6ee23cdde8afd53dd72b9f2f789c22f58c.zip
drm/i915: Sanitize the TypeC connect/detect sequences
Make the order during detection more consistent: first reset the TypeC port mode if needed (adding new helpers for this), then detect any connected sink. To check if a port mode reset is needed determine first the target port mode based on the live status if a sink is already connected or the PHY status complete flag otherwise. Add a WARN in legacy mode if unexpectedly we can't set the unsafe mode or if the FIA doesn't provide the 4 lanes required. Cc: José Roberto de Souza <jose.souza@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190628143635.22066-13-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.h')
0 files changed, 0 insertions, 0 deletions