diff options
author | George Shen <[email protected]> | 2023-12-17 17:17:57 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-01-09 15:43:53 -0500 |
commit | 7bdbfb4e36e34eb788e44f27666bf0a2b3b90803 (patch) | |
tree | 96f81fd1be427dcaae39ebf2fa0b89ddc890ef84 /rust/helpers/helpers.c | |
parent | 17e74e11ac2b46e7514705ae7abfb93ac0e20bd6 (diff) |
drm/amd/display: Disconnect phantom pipe OPP from OPTC being disabled
[Why]
If an OPP is used for a different OPTC without first being disconnected
from the previous OPTC, unexpected behaviour can occur. This also
applies to phantom pipes, which is what the current logic missed.
[How]
Disconnect OPPs from OPTC for phantom pipes before disabling OTG master.
Also move the disconnection to before the OTG master disable, since the
register is double buffered.
Reviewed-by: Dillon Varone <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: George Shen <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions