Skip to content

Commit 2fd3168

Browse files
Kenneth Fengalexdeucher
authored andcommitted
Revert "drm/amd/pm: fix workload mismatch on vega10"
This reverts commit 0979d43. Revert this because it does not apply to all the cards. Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 7c60610 commit 2fd3168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5164,7 +5164,7 @@ static int vega10_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, ui
51645164

51655165
out:
51665166
smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_SetWorkloadMask,
5167-
(!power_profile_mode) ? 0 : 1 << (power_profile_mode - 1),
5167+
1 << power_profile_mode,
51685168
NULL);
51695169
hwmgr->power_profile_mode = power_profile_mode;
51705170

0 commit comments

Comments
 (0)