diff options
author | 2021-08-11 16:03:40 +0800 | |
---|---|---|
committer | 2021-08-16 15:17:35 -0400 | |
commit | cb5da84a5f080bb02164de2119acaa14656ac057 (patch) | |
tree | f48486ff66b55120fdf9e0cf9233eb9466eb1d6f /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | drm/amd/pm: skip to load smu microcode on sriov for aldebaran (diff) | |
download | linux-dev-cb5da84a5f080bb02164de2119acaa14656ac057.tar.xz linux-dev-cb5da84a5f080bb02164de2119acaa14656ac057.zip |
drm/amd/pm: change return value in aldebaran_get_power_limit()
v1:
1. change return value to avoid smu driver probe fails when FEATURE_PPT is
not enabled.
2. if FEATURE_PPT is not enabled, set power limit value to 0.
v2:
instead dev_err with dev_warn
Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions