mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
drm/amd/pm: Return 0 as default min power limit for legacy asics
Return 0 as the default min power limit for the asics use powerplay. Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2bfb0ca3dd
commit
42ef313754
1 changed files with 3 additions and 0 deletions
|
@ -1022,6 +1022,9 @@ static int pp_get_power_limit(void *handle, uint32_t *limit,
|
|||
*limit /= 100;
|
||||
}
|
||||
break;
|
||||
case PP_PWR_LIMIT_MIN:
|
||||
*limit = 0;
|
||||
break;
|
||||
default:
|
||||
ret = -EOPNOTSUPP;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue