Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 15b959534a39530a21d378190557cc8d1eab7b09

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>

authored by

Charlene Liu and committed by
Alex Deucher
0389f2a3 f21e6d14

+1 -1
+1 -1
drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c
··· 590 590 p->out_states->state_array[i].dtbclk_mhz = max_dtbclk_mhz; 591 591 p->out_states->state_array[i].phyclk_mhz = max_phyclk_mhz; 592 592 593 + p->out_states->state_array[i].dscclk_mhz = max_dispclk_mhz / 3.0; 593 594 p->out_states->state_array[i].phyclk_mhz = max_phyclk_mhz; 594 595 p->out_states->state_array[i].dtbclk_mhz = max_dtbclk_mhz; 595 596 596 597 /* Dependent states. */ 597 - p->out_states->state_array[i].dscclk_mhz = p->in_states->state_array[i].dscclk_mhz; 598 598 p->out_states->state_array[i].dram_speed_mts = p->in_states->state_array[i].dram_speed_mts; 599 599 p->out_states->state_array[i].fabricclk_mhz = p->in_states->state_array[i].fabricclk_mhz; 600 600 p->out_states->state_array[i].socclk_mhz = p->in_states->state_array[i].socclk_mhz;