mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
drm/amd/powerplay: support mclk socclk limit value set for sienna_cichlid.
Add support to force and unforce MCLK or SOCCLK to dpm limit value. Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7cf700478d
commit
9af9fe5bf3
@ -945,6 +945,8 @@ static int sienna_cichlid_force_dpm_limit_value(struct smu_context *smu, bool hi
|
||||
|
||||
enum smu_clk_type clks[] = {
|
||||
SMU_GFXCLK,
|
||||
SMU_MCLK,
|
||||
SMU_SOCCLK,
|
||||
};
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(clks); i++) {
|
||||
@ -970,6 +972,8 @@ static int sienna_cichlid_unforce_dpm_levels(struct smu_context *smu)
|
||||
|
||||
enum smu_clk_type clks[] = {
|
||||
SMU_GFXCLK,
|
||||
SMU_MCLK,
|
||||
SMU_SOCCLK,
|
||||
};
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(clks); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user