mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 20:33:49 -04:00
drm/amd/pm: correct SMC sclk/mclk boot level setup
Correct Polaris smc boot level setup. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1587,10 +1587,18 @@ static int polaris10_populate_smc_boot_level(struct pp_hwmgr *hwmgr,
|
||||
result = phm_find_boot_level(&(data->dpm_table.sclk_table),
|
||||
data->vbios_boot_state.sclk_bootup_value,
|
||||
(uint32_t *)&(table->GraphicsBootLevel));
|
||||
if (result) {
|
||||
table->GraphicsBootLevel = 0;
|
||||
result = 0;
|
||||
}
|
||||
|
||||
result = phm_find_boot_level(&(data->dpm_table.mclk_table),
|
||||
data->vbios_boot_state.mclk_bootup_value,
|
||||
(uint32_t *)&(table->MemoryBootLevel));
|
||||
if (result) {
|
||||
table->MemoryBootLevel = 0;
|
||||
result = 0;
|
||||
}
|
||||
|
||||
table->BootVddc = data->vbios_boot_state.vddc_bootup_value *
|
||||
VOLTAGE_SCALE;
|
||||
|
||||
Reference in New Issue
Block a user