]> Git Repo - linux.git/commitdiff
drm/amdgpu/powerplay: Modify SMC message name for setting power profile mode
authorchen gong <[email protected]>
Mon, 13 Jul 2020 08:11:24 +0000 (16:11 +0800)
committerAlex Deucher <[email protected]>
Tue, 14 Jul 2020 18:38:33 +0000 (14:38 -0400)
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]>
drivers/gpu/drm/amd/powerplay/renoir_ppt.c

index 5071cfbe193f243b46a0c9efc46c9a807350603c..4fcb51e01b6984124af646c64bc099a590b1b47f 100644 (file)
@@ -698,7 +698,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) {
This page took 0.057596 seconds and 4 git commands to generate.