Skip to content

Commit 977d7e5

Browse files
Kenneth Fengmehmetb0
authored andcommitted
drm/amd/pm: Set SMU v13.0.7 default workload type
BugLink: https://bugs.launchpad.net/bugs/2102181 commit 3912a78 upstream. Set the default workload type to bootup type on smu v13.0.7. This is because of the constraint on smu v13.0.7. Gfx activity has an even higher set point on 3D fullscreen mode than the one on bootup mode. This causes the 3D fullscreen mode's performance is worse than the bootup mode's performance for the lightweighted/medium workload. For the high workload, the performance is the same between 3D fullscreen mode and bootup mode. v2: set the default workload in ASIC specific file Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Yang Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] # 6.11.x Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Koichiro Den <[email protected]> Signed-off-by: Mehmet Basaran <[email protected]>
1 parent 59fe122 commit 977d7e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2680,4 +2680,5 @@ void smu_v13_0_7_set_ppt_funcs(struct smu_context *smu)
26802680
smu->workload_map = smu_v13_0_7_workload_map;
26812681
smu->smc_driver_if_version = SMU13_0_7_DRIVER_IF_VERSION;
26822682
smu_v13_0_set_smu_mailbox_registers(smu);
2683+
smu->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT;
26832684
}

0 commit comments

Comments
 (0)