Skip to content
Snippets Groups Projects
Commit 50c77bbf authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/pm: look up current_level for asics without pm callback


For asics without a callback, use the current level rather than 0xff.
This can avoid an unnecesary forced level set on older asics when
set by the user.

Reviewed-by: default avatarKevin Wang <kevinyang.wang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 219cc210
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment