Skip to content

Commit 0389f2a

Browse files
charliu-AMDENGalexdeucher
authored andcommitted
Revert "drm/amd/display: dml2 soc dscclk use DPM table clk setting"
[why] this dscclk use DCN defined per DPM level will cause a DCFCLK increase. needs to follow up. This reverts commit 15b9595 Reviewed-by: Yihan Zhu <yihan.zhu@amd.com> Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Charlene Liu <Charlene.Liu@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent f21e6d1 commit 0389f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,11 +590,11 @@ void dml2_init_soc_states(struct dml2_context *dml2, const struct dc *in_dc,
590590
p->out_states->state_array[i].dtbclk_mhz = max_dtbclk_mhz;
591591
p->out_states->state_array[i].phyclk_mhz = max_phyclk_mhz;
592592

593+
p->out_states->state_array[i].dscclk_mhz = max_dispclk_mhz / 3.0;
593594
p->out_states->state_array[i].phyclk_mhz = max_phyclk_mhz;
594595
p->out_states->state_array[i].dtbclk_mhz = max_dtbclk_mhz;
595596

596597
/* Dependent states. */
597-
p->out_states->state_array[i].dscclk_mhz = p->in_states->state_array[i].dscclk_mhz;
598598
p->out_states->state_array[i].dram_speed_mts = p->in_states->state_array[i].dram_speed_mts;
599599
p->out_states->state_array[i].fabricclk_mhz = p->in_states->state_array[i].fabricclk_mhz;
600600
p->out_states->state_array[i].socclk_mhz = p->in_states->state_array[i].socclk_mhz;

0 commit comments

Comments
 (0)