summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-07-23 10:40:18 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-07-23 10:40:18 +0000
commit7af0993aae91e05c60a87b7ac96ae49149c523ba (patch)
treee0f3de82b064151a25dd3916f4820951ea59c797 /sys
parent7454f629664d91e6881cf4ccda65e389ca72a253 (diff)
drm/amdgpu/powerplay: Modify SMC message name for setting power profile mode
From chen gong b22a2501543e9ebe88b8375652ad41715f1e765d in linux 5.7.y/5.7.10 98a34cf931e848f8489d3fb15a8f5fc03802ad65 in mainline linux
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/amd/powerplay/renoir_ppt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/powerplay/renoir_ppt.c b/sys/dev/pci/drm/amd/powerplay/renoir_ppt.c
index aa4478cb9e1..3352d5503ba 100644
--- a/sys/dev/pci/drm/amd/powerplay/renoir_ppt.c
+++ b/sys/dev/pci/drm/amd/powerplay/renoir_ppt.c
@@ -687,7 +687,7 @@ static int renoir_set_power_profile_mode(struct smu_context *smu, long *input, u
return -EINVAL;
}
- ret = smu_send_smc_msg_with_param(smu, SMU_MSG_SetWorkloadMask,
+ ret = smu_send_smc_msg_with_param(smu, SMU_MSG_ActiveProcessNotify,
1 << workload_type,
NULL);
if (ret) {