mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
drm/amd/pm: Update default power1_cap
Update default power1_cap to max limit for smu_v13_0_6 and smu_v13_0_12 Signed-off-by: Asad Kamal <asad.kamal@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Yang Wang <kevinyang.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1872,7 +1872,7 @@ static int smu_v13_0_6_get_power_limit(struct smu_context *smu,
|
|||||||
if (current_power_limit)
|
if (current_power_limit)
|
||||||
*current_power_limit = power_limit;
|
*current_power_limit = power_limit;
|
||||||
if (default_power_limit)
|
if (default_power_limit)
|
||||||
*default_power_limit = power_limit;
|
*default_power_limit = pptable->MaxSocketPowerLimit;
|
||||||
|
|
||||||
if (max_power_limit) {
|
if (max_power_limit) {
|
||||||
*max_power_limit = pptable->MaxSocketPowerLimit;
|
*max_power_limit = pptable->MaxSocketPowerLimit;
|
||||||
|
|||||||
Reference in New Issue
Block a user