]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/pm: Update default power1_cap
authorAsad Kamal <asad.kamal@amd.com>
Thu, 6 Nov 2025 06:11:45 +0000 (14:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Nov 2025 15:02:19 +0000 (10:02 -0500)
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>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c

index 31bdaabbd59c074f70d3ada280c5819fa0bead16..dd8c7b98ce7e6775d47da7ed13fffdf0b0367874 100644 (file)
@@ -1872,7 +1872,7 @@ static int smu_v13_0_6_get_power_limit(struct smu_context *smu,
        if (current_power_limit)
                *current_power_limit = power_limit;
        if (default_power_limit)
-               *default_power_limit = power_limit;
+               *default_power_limit = pptable->MaxSocketPowerLimit;
 
        if (max_power_limit) {
                *max_power_limit = pptable->MaxSocketPowerLimit;