diff options
| author | Imre Deak <[email protected]> | 2019-06-28 17:36:23 +0300 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2019-07-01 14:50:20 +0300 |
| commit | 424f109f5c5d9c82a16d0c8dc033ff3d513c6e0f (patch) | |
| tree | 7003a6b9c0e27c95c08cd5ae76209a81f815952d /tools/perf/scripts/python | |
| parent | ddec362724f98a6725aeafda7701a40635c15909 (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions