drm/amd/display: Allow system to enter stutter on init
authorAnthony Koo <Anthony.Koo@amd.com>
Wed, 3 Apr 2019 20:59:56 +0000 (16:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Apr 2019 22:27:32 +0000 (17:27 -0500)
[Why]
Workaround was missing in one HW disable path,
meaning when all pipes are power gated, stutter was
not working

[How]
Add workaround for init_hw path for stutter
workaround

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c

index dab370676bfa7398e10b5f041b6cc1346f87c4a5..f0cc7c9c9de3eb2b1bc105e3ade3a0533440fe10 100644 (file)
@@ -1126,6 +1126,8 @@ static void dcn10_init_hw(struct dc *dc)
                        dc->res_pool->opps[i]->mpc_tree_params.opp_id = dc->res_pool->opps[i]->inst;
                        plane_atomic_power_down(dc, dpp, hubp);
                }
+
+               apply_DEGVIDCN10_253_wa(dc);
        }
 
        for (i = 0; i < dc->res_pool->audio_count; i++) {