Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/pm: Drop unused ppt callback definitions

SMU message related ppt callbacks are not used. Drop from ppt_funcs.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Lijo Lazar and committed by
Alex Deucher
b9b393c6 72838568

-20
-18
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
··· 1188 1188 int (*system_features_control)(struct smu_context *smu, bool en); 1189 1189 1190 1190 /** 1191 - * @send_smc_msg_with_param: Send a message with a parameter to the SMU. 1192 - * &msg: Type of message. 1193 - * &param: Message parameter. 1194 - * &read_arg: SMU response (optional). 1195 - */ 1196 - int (*send_smc_msg_with_param)(struct smu_context *smu, 1197 - enum smu_message_type msg, uint32_t param, uint32_t *read_arg); 1198 - 1199 - /** 1200 - * @send_smc_msg: Send a message to the SMU. 1201 - * &msg: Type of message. 1202 - * &read_arg: SMU response (optional). 1203 - */ 1204 - int (*send_smc_msg)(struct smu_context *smu, 1205 - enum smu_message_type msg, 1206 - uint32_t *read_arg); 1207 - 1208 - /** 1209 1191 * @init_display_count: Notify the SMU of the number of display 1210 1192 * components in current display configuration. 1211 1193 */
-2
drivers/gpu/drm/amd/pm/swsmu/smu_internal.h
··· 54 54 #define smu_system_features_control(smu, en) smu_ppt_funcs(system_features_control, 0, smu, en) 55 55 #define smu_init_max_sustainable_clocks(smu) smu_ppt_funcs(init_max_sustainable_clocks, 0, smu) 56 56 #define smu_set_default_od_settings(smu) smu_ppt_funcs(set_default_od_settings, 0, smu) 57 - #define smu_send_smc_msg_with_param(smu, msg, param, read_arg) smu_ppt_funcs(send_smc_msg_with_param, 0, smu, msg, param, read_arg) 58 - #define smu_send_smc_msg(smu, msg, read_arg) smu_ppt_funcs(send_smc_msg, 0, smu, msg, read_arg) 59 57 #define smu_init_display_count(smu, count) smu_ppt_funcs(init_display_count, 0, smu, count) 60 58 #define smu_feature_set_allowed_mask(smu) smu_ppt_funcs(set_allowed_mask, 0, smu) 61 59 #define smu_feature_get_enabled_mask(smu, mask) smu_ppt_funcs(get_enabled_mask, -EOPNOTSUPP, smu, mask)