diff options
author | 2020-07-23 10:40:17 +0000 | |
---|---|---|
committer | 2020-07-23 10:40:17 +0000 | |
commit | 2aee0a6287ac126fcba443c69d80f8e948ec71fb (patch) | |
tree | 0c1ba0d50bc273ef255d3dd0c21e05162a3759e3 | |
parent | Even more whitespace fixup. (diff) | |
download | wireguard-openbsd-2aee0a6287ac126fcba443c69d80f8e948ec71fb.tar.xz wireguard-openbsd-2aee0a6287ac126fcba443c69d80f8e948ec71fb.zip |
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
-rw-r--r-- | sys/dev/pci/drm/amd/powerplay/renoir_ppt.c | 2 |
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) { |