]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Wait for TypeC PHY complete flag to clear in safe mode
authorImre Deak <imre.deak@intel.com>
Fri, 28 Jun 2019 14:36:22 +0000 (17:36 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 1 Jul 2019 11:50:16 +0000 (14:50 +0300)
commitd7ae37e60801fc25a184270d4364c6d5ff769e8b
tree442edbbaf78df9cbdc672a7c2682c2c5b526777d
parentb1f18252ed2e19c462155c2fd869c39e3fcf8097
drm/i915: Wait for TypeC PHY complete flag to clear in safe mode

The PHY status complete flag normally clears when disconnecting the PHY
in DP-alt mode (achieved by switching to safe mode), so wait for the
flag to clear.

v2:
- Use DRM_DEBUG_KMS instead of DRM_DEBUG_DRIVER. (José)

Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
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/20190628143635.22066-11-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_tc.c