aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <[email protected]>2016-07-26 16:38:36 +0800
committerAlex Deucher <[email protected]>2016-08-08 11:32:34 -0400
commit3c18266cffc9741e1982005034a0a3494acbdf86 (patch)
treec9a25cd9db50fc1d9f285fcb27933c454fa51ee5
parentdb7992d8205cb5fce806dac5d818e75669b35f11 (diff)
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 <[email protected]> Reviewed-by: Ken Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c
index d538d28fa8b3..d8ca59b283d3 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c
@@ -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(