drm/amd/display: Set wm_pending when disable stutter w/a used

[WHY&HOW]
When stutter is disabled prior to watermark programming due to a w/a,
wm_pending should be returned as true.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Dillon Varone <Dillon.Varone@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Dillon Varone 2025-09-10 16:55:23 -04:00 committed by Alex Deucher
parent adb441ca64
commit c480d074b3

View File

@ -770,6 +770,7 @@ static bool hubbub32_program_watermarks(
(ASICREV_IS_GC_11_0_0(dc->ctx->asic_id.hw_internal_rev) ||
ASICREV_IS_GC_11_0_3(dc->ctx->asic_id.hw_internal_rev))) {
/* before raising watermarks, SDP control give to DF, stutter must be disabled */
wm_pending = true;
hubbub32_set_sdp_control(hubbub, false);
hubbub1_allow_self_refresh_control(hubbub, false);
}