aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorEvan Quan <[email protected]>2020-06-08 08:47:59 +0000
committerAlex Deucher <[email protected]>2020-07-01 05:59:18 +0000
commit5213e49df397e6056c30b368e2f986950f0b4bbb (patch)
tree6b78bd328af3d0fdc571553b29af00d23e61d661 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/amd/powerplay: simplify the code around retrieving power limit (diff)
downloadkernel-5213e49df397e6056c30b368e2f986950f0b4bbb.tar.gz
kernel-5213e49df397e6056c30b368e2f986950f0b4bbb.zip
drm/amd/powerplay: simplify the code around setting power limit
Use the cached max/current power limit and move the input check to the top layer. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions