drm/amd/pm: Remove arcturus min power limit
commit da868898cf4c5ddbd1f7406e356edce5d7211eb5 upstream. As per power team, there is no need to impose a lower bound on arcturus power limit. Any unreasonable limit set will result in frequent throttling. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8f5b79a452
commit
08e5f8e1a2
@@ -1344,8 +1344,12 @@ static int arcturus_get_power_limit(struct smu_context *smu,
|
||||
*default_power_limit = power_limit;
|
||||
if (max_power_limit)
|
||||
*max_power_limit = power_limit;
|
||||
/**
|
||||
* No lower bound is imposed on the limit. Any unreasonable limit set
|
||||
* will result in frequent throttling.
|
||||
*/
|
||||
if (min_power_limit)
|
||||
*min_power_limit = power_limit;
|
||||
*min_power_limit = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user