Commit 89c67699 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher

drm/amd/powerplay: refine dmesg info under powerplay

Use pr_debug to prevent spamming unimportant dmesg.
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2a527680
...@@ -1100,10 +1100,10 @@ int atomctrl_get_voltage_evv(struct pp_hwmgr *hwmgr, ...@@ -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, if (entry_id >= hwmgr->dyn_state.vddc_dependency_on_sclk->count) {
"Can't find requested voltage id in vddc_dependency_on_sclk table!", pr_debug("Can't find requested voltage id in vddc_dependency_on_sclk table!\n");
return -EINVAL; return -EINVAL;
); }
get_voltage_info_param_space.ucVoltageType = VOLTAGE_TYPE_VDDC; get_voltage_info_param_space.ucVoltageType = VOLTAGE_TYPE_VDDC;
get_voltage_info_param_space.ucVoltageMode = ATOM_GET_VOLTAGE_EVV_VOLTAGE; 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) ...@@ -1543,7 +1543,7 @@ static int smu7_get_evv_voltages(struct pp_hwmgr *hwmgr)
if (vddc >= 2000 || vddc == 0) if (vddc >= 2000 || vddc == 0)
return -EINVAL; return -EINVAL;
} else { } else {
pr_warn("failed to retrieving EVV voltage!\n"); pr_debug("failed to retrieving EVV voltage!\n");
continue; continue;
} }
...@@ -3026,11 +3026,11 @@ static int smu7_get_pp_table_entry_v1(struct pp_hwmgr *hwmgr, ...@@ -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 != NULL && dep_mclk_table->count == 1) {
if (dep_mclk_table->entries[0].clk != if (dep_mclk_table->entries[0].clk !=
data->vbios_boot_state.mclk_bootup_value) 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"); "does not match VBIOS boot MCLK level");
if (dep_mclk_table->entries[0].vddci != if (dep_mclk_table->entries[0].vddci !=
data->vbios_boot_state.vddci_bootup_value) 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"); "does not match VBIOS boot VDDCI level");
} }
...@@ -3174,11 +3174,11 @@ static int smu7_get_pp_table_entry_v0(struct pp_hwmgr *hwmgr, ...@@ -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 != NULL && dep_mclk_table->count == 1) {
if (dep_mclk_table->entries[0].clk != if (dep_mclk_table->entries[0].clk !=
data->vbios_boot_state.mclk_bootup_value) 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"); "does not match VBIOS boot MCLK level");
if (dep_mclk_table->entries[0].v != if (dep_mclk_table->entries[0].v !=
data->vbios_boot_state.vddci_bootup_value) 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"); "does not match VBIOS boot VDDCI level");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment