]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amd/display: Set wm_pending when disable stutter w/a used
authorDillon Varone <Dillon.Varone@amd.com>
Wed, 10 Sep 2025 20:55:23 +0000 (16:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Sep 2025 14:31:58 +0000 (10:31 -0400)
[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>
drivers/gpu/drm/amd/display/dc/hubbub/dcn32/dcn32_hubbub.c

index 3b71bfaca29140ee16115a447a7084b8da07a655..4d4ca6d77bbda3459fd872167759b235e4d8c912 100644 (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);
        }