[PATCH v2 00/23] drm/i915: Fix TypeC port mode switching

Imre Deak
2019-06-20T14:06:04Z

This is v2 of [1] addressing the review comments from Jani, José and
Ville.

I also pushed the updated version to:
https://github.com/ideak/linux/commits/typec-mode-switch

[1] https://patchwork.freedesktop.org/series/61590/

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Animesh Manna <animesh.manna@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

Imre Deak (23):
drm/i915/icl: Add support to read out the TBT PLL HW state
drm/i915: Tune down WARNs about TBT AUX power well enabling
drm/i915: Move the TypeC port handling code to a separate file
drm/i915: Sanitize the terminology used for TypeC port modes
drm/i915: Don't enable the DDI-IO power in the TypeC TBT-alt mode
drm/i915: Fix the TBT AUX power well enabling
drm/i915: Use the correct AUX power domain in TypeC TBT-alt mode
drm/i915: Unify the TypeC port notation in debug/error messages
drm/i915: Factor out common parts from TypeC port handling functions
drm/i915: Wait for TypeC PHY complete flag to clear in safe mode
drm/i915: Handle the TCCOLD power-down event
drm/i915: Sanitize the TypeC connect/detect sequences
drm/i915: Fix the TypeC port mode sanitization during loading/resume
drm/i915: Keep the TypeC port mode fixed for detect/AUX transfers
drm/i915: Sanitize the TypeC FIA lane configuration decoding
drm/i915: Sanitize the shared DPLL reserve/release interface
drm/i915: Sanitize the shared DPLL find/reference interface
drm/i915/icl: Split getting the DPLLs to port type specific functions
drm/i915/icl: Reserve all required PLLs for TypeC ports
drm/i915: Keep the TypeC port mode fixed when the port is active
drm/i915: Add state verification for the TypeC port mode
drm/i915: Remove unneeded disconnect in TypeC legacy port mode
drm/i915: WARN about invalid lane reversal in TBT-alt/DP-alt modes

drivers/gpu/drm/i915/Makefile | 3 +-
drivers/gpu/drm/i915/display/intel_ddi.c | 124 +++--
drivers/gpu/drm/i915/display/intel_display.c | 166 +++++-
drivers/gpu/drm/i915/display/intel_display.h | 7 +-
.../drm/i915/display/intel_display_power.c | 112 +++-
drivers/gpu/drm/i915/display/intel_dp.c | 236 +-------
drivers/gpu/drm/i915/display/intel_dp.h | 2 -
drivers/gpu/drm/i915/display/intel_dp_mst.h | 8 +-
drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 523 +++++++++++++-----
drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 25 +-
drivers/gpu/drm/i915/display/intel_tc.c | 452 +++++++++++++++
drivers/gpu/drm/i915/display/intel_tc.h | 32 ++
drivers/gpu/drm/i915/intel_drv.h | 21 +-
13 files changed, 1236 insertions(+), 475 deletions(-)
create mode 100644 drivers/gpu/drm/i915/display/intel_tc.c
create mode 100644 drivers/gpu/drm/i915/display/intel_tc.h