Skip to content

Commit 42ef313

Browse files
Ma Junalexdeucher
authored andcommitted
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>
1 parent 2bfb0ca commit 42ef313

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,9 @@ static int pp_get_power_limit(void *handle, uint32_t *limit,
10221022
*limit /= 100;
10231023
}
10241024
break;
1025+
case PP_PWR_LIMIT_MIN:
1026+
*limit = 0;
1027+
break;
10251028
default:
10261029
ret = -EOPNOTSUPP;
10271030
break;

0 commit comments

Comments
 (0)