diff options
| author | Imre Deak <[email protected]> | 2019-06-28 14:36:23 +0000 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2019-07-01 11:50:20 +0000 |
| commit | 424f109f5c5d9c82a16d0c8dc033ff3d513c6e0f (patch) | |
| tree | 7003a6b9c0e27c95c08cd5ae76209a81f815952d /drivers/gpu/drm/i915/display/intel_dp_mst.h | |
| parent | drm/i915: Wait for TypeC PHY complete flag to clear in safe mode (diff) | |
| download | kernel-424f109f5c5d9c82a16d0c8dc033ff3d513c6e0f.tar.gz kernel-424f109f5c5d9c82a16d0c8dc033ff3d513c6e0f.zip | |
drm/i915: Handle the TCCOLD power-down event
Based on a recent BSpec update (Index/21750) we must handle the TCCOLD
event associated with the DP-alt mode. We can detect this event by
reading an invalid all-1s value from FIA registers.
After detecting TCCOLD we will:
- fall back to TBT-alt mode when attempting to switch to DP-alt mode
- conclude that nothing is connected during live status detection
- WARN when already in unsafe mode, since then TCCOLD is unexpected
v2:
- Use DRM_DEBUG_KMS instead of DRM_DEBUG_DRIVER. (José)
v3:
- Use 0xffffffff instead of -1 as invalid FIA reg value.
(José, Ville)
- Check for TCCOLD in icl_tc_phy_status_complete() too. (Ville)
Cc: José Roberto de Souza <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: José Roberto de Souza <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.h')
0 files changed, 0 insertions, 0 deletions
