Skip to content

Commit 98a34cf

Browse files
chen gongalexdeucher
authored andcommitted
drm/amdgpu/powerplay: Modify SMC message name for setting power profile mode
I consulted Cai Land([email protected]), he told me corresponding smc message name to fSMC_MSG_SetWorkloadMask() is "PPSMC_MSG_ActiveProcessNotify" in firmware code of Renoir. Strange though it may seem, but it's a fact. Signed-off-by: chen gong <[email protected]> Reviewed-by: Evan Quan <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent be73e60 commit 98a34cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/powerplay/renoir_ppt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ static int renoir_set_power_profile_mode(struct smu_context *smu, long *input, u
689689
return -EINVAL;
690690
}
691691

692-
ret = smu_send_smc_msg_with_param(smu, SMU_MSG_SetWorkloadMask,
692+
ret = smu_send_smc_msg_with_param(smu, SMU_MSG_ActiveProcessNotify,
693693
1 << workload_type,
694694
NULL);
695695
if (ret) {

0 commit comments

Comments
 (0)