mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-16 19:45:07 +00:00
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: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
87abff7788
commit
d3a593e97e
1 changed files with 3 additions and 0 deletions
|
@ -1083,6 +1083,9 @@ static int smu_hw_init(void *handle)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!smu->pm_enabled)
|
||||||
|
return 0;
|
||||||
|
|
||||||
ret = smu_feature_init_dpm(smu);
|
ret = smu_feature_init_dpm(smu);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto failed;
|
goto failed;
|
||||||
|
|
Loading…
Add table
Reference in a new issue