mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
drm/amd/powerplay: refine dmesg info under powerplay
Use pr_debug to prevent spamming unimportant dmesg. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2a527680a1
commit
89c67699ad
2 changed files with 8 additions and 8 deletions
|
@ -1100,10 +1100,10 @@ int atomctrl_get_voltage_evv(struct pp_hwmgr *hwmgr,
|
|||
}
|
||||
}
|
||||
|
||||
PP_ASSERT_WITH_CODE(entry_id < hwmgr->dyn_state.vddc_dependency_on_sclk->count,
|
||||
"Can't find requested voltage id in vddc_dependency_on_sclk table!",
|
||||
if (entry_id >= hwmgr->dyn_state.vddc_dependency_on_sclk->count) {
|
||||
pr_debug("Can't find requested voltage id in vddc_dependency_on_sclk table!\n");
|
||||
return -EINVAL;
|
||||
);
|
||||
}
|
||||
|
||||
get_voltage_info_param_space.ucVoltageType = VOLTAGE_TYPE_VDDC;
|
||||
get_voltage_info_param_space.ucVoltageMode = ATOM_GET_VOLTAGE_EVV_VOLTAGE;
|
||||
|
|
|
@ -1543,7 +1543,7 @@ static int smu7_get_evv_voltages(struct pp_hwmgr *hwmgr)
|
|||
if (vddc >= 2000 || vddc == 0)
|
||||
return -EINVAL;
|
||||
} else {
|
||||
pr_warn("failed to retrieving EVV voltage!\n");
|
||||
pr_debug("failed to retrieving EVV voltage!\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -3026,11 +3026,11 @@ static int smu7_get_pp_table_entry_v1(struct pp_hwmgr *hwmgr,
|
|||
if (dep_mclk_table != NULL && dep_mclk_table->count == 1) {
|
||||
if (dep_mclk_table->entries[0].clk !=
|
||||
data->vbios_boot_state.mclk_bootup_value)
|
||||
pr_err("Single MCLK entry VDDCI/MCLK dependency table "
|
||||
pr_debug("Single MCLK entry VDDCI/MCLK dependency table "
|
||||
"does not match VBIOS boot MCLK level");
|
||||
if (dep_mclk_table->entries[0].vddci !=
|
||||
data->vbios_boot_state.vddci_bootup_value)
|
||||
pr_err("Single VDDCI entry VDDCI/MCLK dependency table "
|
||||
pr_debug("Single VDDCI entry VDDCI/MCLK dependency table "
|
||||
"does not match VBIOS boot VDDCI level");
|
||||
}
|
||||
|
||||
|
@ -3174,11 +3174,11 @@ static int smu7_get_pp_table_entry_v0(struct pp_hwmgr *hwmgr,
|
|||
if (dep_mclk_table != NULL && dep_mclk_table->count == 1) {
|
||||
if (dep_mclk_table->entries[0].clk !=
|
||||
data->vbios_boot_state.mclk_bootup_value)
|
||||
pr_err("Single MCLK entry VDDCI/MCLK dependency table "
|
||||
pr_debug("Single MCLK entry VDDCI/MCLK dependency table "
|
||||
"does not match VBIOS boot MCLK level");
|
||||
if (dep_mclk_table->entries[0].v !=
|
||||
data->vbios_boot_state.vddci_bootup_value)
|
||||
pr_err("Single VDDCI entry VDDCI/MCLK dependency table "
|
||||
pr_debug("Single VDDCI entry VDDCI/MCLK dependency table "
|
||||
"does not match VBIOS boot VDDCI level");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue