diff options
| author | Taimur Hassan <[email protected]> | 2022-08-16 17:10:50 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-08-29 17:45:51 -0400 |
| commit | d84f5d6562b2f068ec7011f50e702e8a60ec7932 (patch) | |
| tree | 8fab624ad37ce3c03d557ee1a32a6c10d1061289 | |
| parent | 29bec1c43d7de6af60a34e08205db3b7c6048cef (diff) | |
drm/amd/display: Remove assert from PHY state update
[Why & How]
In some cases, there are calls to transition from TX_ON to TX_ON. This is
expected, so do not assert. However, these are redundant, so return
prematurely.
Reviewed-by: Alvin Lee <[email protected]>
Acked-by: Brian Chang <[email protected]>
Signed-off-by: Taimur Hassan <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c index 3b1c6603ae0c..b7556111ee44 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c @@ -1224,10 +1224,8 @@ void dcn32_update_phy_state(struct dc_state *state, struct pipe_ctx *pipe_ctx, { enum phy_state current_state = pipe_ctx->stream->link->phy_state; - if (current_state == target_state) { - BREAK_TO_DEBUGGER(); + if (current_state == target_state) return; - } if (target_state == TX_OFF_SYMCLK_OFF) { core_link_disable_stream(pipe_ctx); |