mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
drm/amdgpu/powerplay/smu7: use proper dep table for mclk
For mclk od, use the vdd dependency on mclk table. Looks like a cut and paste typo. Reviewed-by: Rex Zhu<rezhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
585b7f161c
commit
2e7cbbbcf9
3 changed files with 3 additions and 3 deletions
|
@ -1205,7 +1205,7 @@ static int fiji_populate_single_memory_level(struct pp_hwmgr *hwmgr,
|
||||||
phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_table = NULL;
|
phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_table = NULL;
|
||||||
|
|
||||||
if (hwmgr->od_enabled)
|
if (hwmgr->od_enabled)
|
||||||
vdd_dep_table = (phm_ppt_v1_clock_voltage_dependency_table *)&data->odn_dpm_table.vdd_dependency_on_sclk;
|
vdd_dep_table = (phm_ppt_v1_clock_voltage_dependency_table *)&data->odn_dpm_table.vdd_dependency_on_mclk;
|
||||||
else
|
else
|
||||||
vdd_dep_table = table_info->vdd_dep_on_mclk;
|
vdd_dep_table = table_info->vdd_dep_on_mclk;
|
||||||
|
|
||||||
|
|
|
@ -1112,7 +1112,7 @@ static int polaris10_populate_single_memory_level(struct pp_hwmgr *hwmgr,
|
||||||
cgs_get_active_displays_info(hwmgr->device, &info);
|
cgs_get_active_displays_info(hwmgr->device, &info);
|
||||||
|
|
||||||
if (hwmgr->od_enabled)
|
if (hwmgr->od_enabled)
|
||||||
vdd_dep_table = (phm_ppt_v1_clock_voltage_dependency_table *)&data->odn_dpm_table.vdd_dependency_on_sclk;
|
vdd_dep_table = (phm_ppt_v1_clock_voltage_dependency_table *)&data->odn_dpm_table.vdd_dependency_on_mclk;
|
||||||
else
|
else
|
||||||
vdd_dep_table = table_info->vdd_dep_on_mclk;
|
vdd_dep_table = table_info->vdd_dep_on_mclk;
|
||||||
|
|
||||||
|
|
|
@ -969,7 +969,7 @@ static int tonga_populate_single_memory_level(
|
||||||
phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_table = NULL;
|
phm_ppt_v1_clock_voltage_dependency_table *vdd_dep_table = NULL;
|
||||||
|
|
||||||
if (hwmgr->od_enabled)
|
if (hwmgr->od_enabled)
|
||||||
vdd_dep_table = (phm_ppt_v1_clock_voltage_dependency_table *)&data->odn_dpm_table.vdd_dependency_on_sclk;
|
vdd_dep_table = (phm_ppt_v1_clock_voltage_dependency_table *)&data->odn_dpm_table.vdd_dependency_on_mclk;
|
||||||
else
|
else
|
||||||
vdd_dep_table = pptable_info->vdd_dep_on_mclk;
|
vdd_dep_table = pptable_info->vdd_dep_on_mclk;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue