Commit d3a593e9 authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher

drm/amd/powerplay: no pptable transfer and dpms enabled with "dpm=0"

Honor the 'dpm' module parameter setting on SW SMU routine as what
we did on previous ASICs. SMU FW loading is still proceeded even
with "dpm=0".
Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 87abff77
......@@ -1083,6 +1083,9 @@ static int smu_hw_init(void *handle)
}
}
if (!smu->pm_enabled)
return 0;
ret = smu_feature_init_dpm(smu);
if (ret)
goto failed;
......
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