mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 09:56:58 +07:00
drm/amd/powerplay: add DPM running checking back
This patch adds DPM running checking back, because the DPM issue is fixed. Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
db7992d820
commit
3c18266cff
@ -4239,11 +4239,9 @@ int iceland_unforce_dpm_levels(struct pp_hwmgr *hwmgr)
|
||||
{
|
||||
iceland_hwmgr *data = (iceland_hwmgr *)(hwmgr->backend);
|
||||
|
||||
#if 0
|
||||
PP_ASSERT_WITH_CODE (0 == iceland_is_dpm_running(hwmgr),
|
||||
"Trying to Unforce DPM when DPM is disabled. Returning without sending SMC message.",
|
||||
return -1);
|
||||
#endif
|
||||
|
||||
if (0 == data->sclk_dpm_key_disabled) {
|
||||
PP_ASSERT_WITH_CODE((0 == smum_send_msg_to_smc(
|
||||
|
Loading…
Reference in New Issue
Block a user