diff options
author | Evan Quan <evan.quan@amd.com> | 2020-06-08 16:41:16 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 01:59:18 -0400 |
commit | a141b4e3c722c1c0f72177e258f2cb591949018b (patch) | |
tree | 10105ad4438d1545968812b9d15b8b4d430e0d71 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 1e239fdd31cdf1729bc1e8b4538bf590bd28de57 (diff) | |
download | linux-a141b4e3c722c1c0f72177e258f2cb591949018b.tar.gz linux-a141b4e3c722c1c0f72177e258f2cb591949018b.tar.bz2 linux-a141b4e3c722c1c0f72177e258f2cb591949018b.zip |
drm/amd/powerplay: simplify the code around retrieving power limit
Use the cached max/current power limit for other cases except
.late_init.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions