OSDN Git Service

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 dab3706..f0cc7c9 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++) {