drm/amdgpu/pm/smu7: drop message about VI performance levels
Subsystems (3)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu/pm/smu7: drop message about VI performance levels
Earlier chips only had two performance levels, but newer ones potentially had more. The message is harmless. Drop the message to avoid spamming the log.
--- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c +0 -4
@@ -3295,10 +3295,6 @@ static int smu7_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, request_ps->classification.ui_label); data->mclk_ignore_signal = false; -PP_ASSERT_WITH_CODE (smu7_ps->performance_level_count ==2 , - "VI should always have 2 performance levels", - ); - max_limits = adev->pm.ac_power ? &(hwmgr->dyn_state.max_clock_voltage_on_ac) : &(hwmgr->dyn_state.max_clock_voltage_on_dc);
Signature · 1 line
2.34.1
[AMD Official Use Only]
Quoted 47 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Saturday, January 22, 2022 4:22 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu/pm/smu7: drop message about VI performance levelsEarlier chips only had two performance levels, but newer ones potentially had more. The message is harmless. Drop the message to avoid spamming the log.
Bug:
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitla
b.freedesktop.org%2Fdrm%2Famd%2F- %2Fissues%2F1874&data=04%7C01%7Cevan.quan%40amd.com%7C008 496779cf84e3eb9bc08d9dd1bb44e%7C3dd8961fe4884e608e11a82d994e183d %7C0%7C0%7C637783933331038923%7CUnknown%7CTWFpbGZsb3d8eyJWIj oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3 000&sdata=e53W24tcHU8hRut26458QE5v%2BrTk0xRd4eTMxaFn72E%3 D&reserved=0Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c +0
-4@@ -3295,10 +3295,6 @@ static int smu7_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, request_ps->classification.ui_label); data->mclk_ignore_signal = false; -PP_ASSERT_WITH_CODE (smu7_ps->performance_level_count ==2 , -"VI should always have 2 performance levels", - ); - max_limits = adev->pm.ac_power ?drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c +0
-1&(hwmgr->dyn_state.max_clock_voltage_on_ac) : &(hwmgr->dyn_state.max_clock_voltage_on_dc); --2.34.1