From: Dillon Varone <[email protected]> [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 <[email protected]> Reviewed-by: Aurabindo Pillai <[email protected]> Signed-off-by: Dillon Varone <[email protected]> Signed-off-by: Ivan Lipski <[email protected]> --- drivers/gpu/drm/amd/display/dc/hubbub/dcn32/dcn32_hubbub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/dcn32_hubbub.c b/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/dcn32_hubbub.c index 3b71bfaca291..4d4ca6d77bbd 100644 --- a/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/dcn32_hubbub.c +++ b/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/dcn32_hubbub.c @@ -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); } -- 2.43.0
