Skip to content

Commit 62b9f83

Browse files
Evan Quanalexdeucher
authored andcommitted
drm/amd/pm: enable GPO dynamic control support for SMU13.0.7
To better support UMD pstate profilings, the GPO feature needs to be switched on/off accordingly. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] # 6.0.x
1 parent 1794f6a commit 62b9f83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ static struct cmn2asic_msg_mapping smu_v13_0_7_message_map[SMU_MSG_MAX_COUNT] =
123123
MSG_MAP(SetMGpuFanBoostLimitRpm, PPSMC_MSG_SetMGpuFanBoostLimitRpm, 0),
124124
MSG_MAP(DFCstateControl, PPSMC_MSG_SetExternalClientDfCstateAllow, 0),
125125
MSG_MAP(ArmD3, PPSMC_MSG_ArmD3, 0),
126+
MSG_MAP(AllowGpo, PPSMC_MSG_SetGpoAllow, 0),
126127
};
127128

128129
static struct cmn2asic_mapping smu_v13_0_7_clk_map[SMU_CLK_COUNT] = {
@@ -1690,6 +1691,7 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
16901691
.mode1_reset = smu_v13_0_mode1_reset,
16911692
.set_mp1_state = smu_v13_0_7_set_mp1_state,
16921693
.set_df_cstate = smu_v13_0_7_set_df_cstate,
1694+
.gpo_control = smu_v13_0_gpo_control,
16931695
};
16941696

16951697
void smu_v13_0_7_set_ppt_funcs(struct smu_context *smu)

0 commit comments

Comments
 (0)