/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
D | smu_v12_0.c | 127 return smu_cmn_send_smc_msg_with_param(smu, in smu_v12_0_set_gfx_cgpg() 210 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GfxDeviceDriverReset, SMU_RESET_MODE_2, NULL); in smu_v12_0_mode2_reset() 224 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinGfxClk, min, NULL); in smu_v12_0_set_soft_freq_limited_range() 228 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxGfxClk, max, NULL); in smu_v12_0_set_soft_freq_limited_range() 235 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinFclkByFreq, min, NULL); in smu_v12_0_set_soft_freq_limited_range() 239 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxFclkByFreq, max, NULL); in smu_v12_0_set_soft_freq_limited_range() 244 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinSocclkByFreq, min, NULL); in smu_v12_0_set_soft_freq_limited_range() 248 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxSocclkByFreq, max, NULL); in smu_v12_0_set_soft_freq_limited_range() 253 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinVcn, min, NULL); in smu_v12_0_set_soft_freq_limited_range() 257 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxVcn, max, NULL); in smu_v12_0_set_soft_freq_limited_range() [all …]
|
D | renoir_ppt.c | 444 ret = smu_cmn_send_smc_msg_with_param(smu, in renoir_od_edit_dpm_table() 453 ret = smu_cmn_send_smc_msg_with_param(smu, in renoir_od_edit_dpm_table() 475 ret = smu_cmn_send_smc_msg_with_param(smu, in renoir_set_fine_grain_gfx_freq_parameters() 480 ret = smu_cmn_send_smc_msg_with_param(smu, in renoir_set_fine_grain_gfx_freq_parameters() 514 ret = smu_cmn_send_smc_msg_with_param(smu, in renoir_print_clk_levels() 519 ret = smu_cmn_send_smc_msg_with_param(smu, in renoir_print_clk_levels() 657 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, 0, NULL); in renoir_dpm_set_vcn_enable() 678 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpJpeg, 0, NULL); in renoir_dpm_set_jpeg_enable() 684 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownJpeg, 0, NULL); in renoir_dpm_set_jpeg_enable() 818 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxGfxClk, in renoir_force_clk_levels() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | vangogh_ppt.c | 493 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, 0, NULL); in vangogh_dpm_set_vcn_enable() 497 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownVcn, 0, NULL); in vangogh_dpm_set_vcn_enable() 510 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpJpeg, 0, NULL); in vangogh_dpm_set_jpeg_enable() 514 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownJpeg, 0, NULL); in vangogh_dpm_set_jpeg_enable() 648 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GetFclkFrequency, 0, &cur_value); in vangogh_print_legacy_clk_levels() 751 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GetFclkFrequency, 0, &cur_value); in vangogh_print_clk_levels() 757 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GetGfxclkFrequency, 0, &cur_value); in vangogh_print_clk_levels() 1100 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_ActiveProcessNotify, in vangogh_set_power_profile_mode() 1127 ret = smu_cmn_send_smc_msg_with_param(smu, in vangogh_set_soft_freq_limited_range() 1133 ret = smu_cmn_send_smc_msg_with_param(smu, in vangogh_set_soft_freq_limited_range() [all …]
|
D | smu_v11_0.c | 642 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_notify_memory_pool_location() 648 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_notify_memory_pool_location() 659 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramAddrHigh, in smu_v11_0_notify_memory_pool_location() 663 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramAddrLow, in smu_v11_0_notify_memory_pool_location() 667 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramSize, in smu_v11_0_notify_memory_pool_location() 679 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_set_min_deep_sleep_dcefclk() 693 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_set_driver_table_location() 698 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_set_driver_table_location() 713 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_set_tool_table_location() 718 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_set_tool_table_location() [all …]
|
D | cyan_skillfish_ppt.c | 501 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_RequestGfxclk, in cyan_skillfish_od_edit_dpm_table() 520 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_ForceGfxVid, vid, NULL); in cyan_skillfish_od_edit_dpm_table() 592 .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
|
D | navi10_ppt.c | 1148 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, 1, NULL); in navi10_dpm_set_vcn_enable() 1831 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, 0, NULL); in navi10_pre_display_config_changed() 1854 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, in navi10_display_config_changed() 2072 smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetWorkloadMask, in navi10_set_power_profile_mode() 2095 ret = smu_cmn_send_smc_msg_with_param(smu, in navi10_notify_smc_display_config() 2398 ret = smu_cmn_send_smc_msg_with_param(smu, in navi10_update_pcie_parameters() 2450 ret = smu_cmn_send_smc_msg_with_param(smu, in navi10_overdrive_get_gfx_clk_base_voltage() 2828 ret = smu_cmn_send_smc_msg_with_param(smu, in navi10_set_dummy_pstates_table_location() 2835 return smu_cmn_send_smc_msg_with_param(smu, in navi10_set_dummy_pstates_table_location() 2868 ret = smu_cmn_send_smc_msg_with_param(smu, in navi10_run_umc_cdr_workaround() [all …]
|
D | arcturus_ppt.c | 960 ret = smu_cmn_send_smc_msg_with_param(smu, in arcturus_upload_dpm_level() 974 ret = smu_cmn_send_smc_msg_with_param(smu, in arcturus_upload_dpm_level() 988 ret = smu_cmn_send_smc_msg_with_param(smu, in arcturus_upload_dpm_level() 1545 ret = smu_cmn_send_smc_msg_with_param(smu, in arcturus_set_power_profile_mode() 2269 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DFCstateControl, state, NULL); in arcturus_set_df_cstate() 2290 return smu_cmn_send_smc_msg_with_param(smu, in arcturus_allow_xgmi_power_down() 2295 return smu_cmn_send_smc_msg_with_param(smu, in arcturus_allow_xgmi_power_down() 2469 .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
|
D | sienna_cichlid_ppt.c | 1145 ret = smu_cmn_send_smc_msg_with_param(smu, enable ? in sienna_cichlid_dpm_set_vcn_enable() 1162 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpJpeg, 0, NULL); in sienna_cichlid_dpm_set_jpeg_enable() 1168 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownJpeg, 0, NULL); in sienna_cichlid_dpm_set_jpeg_enable() 1529 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, 0, NULL); in sienna_cichlid_pre_display_config_changed() 1554 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, in sienna_cichlid_display_config_changed() 1772 smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetWorkloadMask, in sienna_cichlid_set_power_profile_mode() 1795 ret = smu_cmn_send_smc_msg_with_param(smu, in sienna_cichlid_notify_smc_display_config() 2126 ret = smu_cmn_send_smc_msg_with_param(smu, in sienna_cichlid_update_pcie_parameters() 4120 return smu_cmn_send_smc_msg_with_param(smu, in sienna_cichlid_enable_mgpu_fan_boost() 4140 ret = smu_cmn_send_smc_msg_with_param(smu, in sienna_cichlid_gpo_control() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0.c | 697 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramAddrHigh, in smu_v13_0_notify_memory_pool_location() 701 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramAddrLow, in smu_v13_0_notify_memory_pool_location() 705 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramSize, in smu_v13_0_notify_memory_pool_location() 717 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_set_min_deep_sleep_dcefclk() 731 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_set_driver_table_location() 736 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_set_driver_table_location() 751 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_set_tool_table_location() 756 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_set_tool_table_location() 772 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, count, NULL); in smu_v13_0_init_display_count() 789 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetAllowedFeaturesMaskHigh, in smu_v13_0_set_allowed_mask() [all …]
|
D | smu_v13_0_5_ppt.c | 202 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, in smu_v13_0_5_dpm_set_vcn_enable() 205 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownVcn, in smu_v13_0_5_dpm_set_vcn_enable() 216 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpJpeg, in smu_v13_0_5_dpm_set_jpeg_enable() 219 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_5_dpm_set_jpeg_enable() 244 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GfxDeviceDriverReset, type, NULL); in smu_v13_0_5_mode_reset() 564 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinGfxClk, in smu_v13_0_5_od_edit_dpm_table() 571 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxGfxClk, in smu_v13_0_5_od_edit_dpm_table() 607 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_5_get_current_clk_freq() 862 ret = smu_cmn_send_smc_msg_with_param(smu, msg_set_min, min_clk, NULL); in smu_v13_0_5_set_soft_freq_limited_range() 866 ret = smu_cmn_send_smc_msg_with_param(smu, msg_set_max, max_clk, NULL); in smu_v13_0_5_set_soft_freq_limited_range() [all …]
|
D | yellow_carp_ppt.c | 229 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, in yellow_carp_dpm_set_vcn_enable() 232 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownVcn, in yellow_carp_dpm_set_vcn_enable() 243 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpJpeg, in yellow_carp_dpm_set_jpeg_enable() 246 ret = smu_cmn_send_smc_msg_with_param(smu, in yellow_carp_dpm_set_jpeg_enable() 283 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GfxDeviceDriverReset, type, NULL); in yellow_carp_mode_reset() 695 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinGfxClk, in yellow_carp_od_edit_dpm_table() 702 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxGfxClk, in yellow_carp_od_edit_dpm_table() 737 return smu_cmn_send_smc_msg_with_param(smu, in yellow_carp_get_current_clk_freq() 741 return smu_cmn_send_smc_msg_with_param(smu, in yellow_carp_get_current_clk_freq() 1005 ret = smu_cmn_send_smc_msg_with_param(smu, msg_set_min, min_clk, NULL); in yellow_carp_set_soft_freq_limited_range() [all …]
|
D | smu_v13_0_6_ppt.c | 451 ret = smu_cmn_send_smc_msg_with_param( in smu_v13_0_6_get_dpm_ultimate_freq() 462 ret = smu_cmn_send_smc_msg_with_param( in smu_v13_0_6_get_dpm_ultimate_freq() 1016 ret = smu_cmn_send_smc_msg_with_param( in smu_v13_0_6_upload_dpm_level() 1033 ret = smu_cmn_send_smc_msg_with_param( in smu_v13_0_6_upload_dpm_level() 1049 ret = smu_cmn_send_smc_msg_with_param( in smu_v13_0_6_upload_dpm_level() 1422 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxGfxClk, in smu_v13_0_6_set_gfx_soft_freq_limited_range() 1427 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMinGfxclk, in smu_v13_0_6_set_gfx_soft_freq_limited_range() 1532 ret = smu_cmn_send_smc_msg_with_param( in smu_v13_0_6_set_soft_freq_limited_range() 1871 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DFCstateControl, in smu_v13_0_6_set_df_cstate() 1877 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GmiPwrDnControl, in smu_v13_0_6_allow_xgmi_power_down() [all …]
|
D | aldebaran_ppt.c | 949 ret = smu_cmn_send_smc_msg_with_param(smu, in aldebaran_upload_dpm_level() 963 ret = smu_cmn_send_smc_msg_with_param(smu, in aldebaran_upload_dpm_level() 977 ret = smu_cmn_send_smc_msg_with_param(smu, in aldebaran_upload_dpm_level() 1356 ret = smu_cmn_send_smc_msg_with_param(smu, in aldebaran_set_soft_freq_limited_range() 1648 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DFCstateControl, state, NULL); in aldebaran_set_df_cstate() 1659 return smu_cmn_send_smc_msg_with_param(smu, in aldebaran_allow_xgmi_power_down() 1913 ret = smu_cmn_send_smc_msg_with_param(smu, in aldebaran_mode1_reset() 1977 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_HeavySBR, enable ? 1 : 0, NULL); in aldebaran_smu_handle_passthrough_sbr() 2027 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetNumBadHbmPagesRetired, size, NULL); in aldebaran_smu_send_hbm_bad_page_num() 2062 …ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetBadHBMPagesRetiredFlagsPerChannel, size, NUL… in aldebaran_send_hbm_bad_channel_flag() [all …]
|
D | smu_v13_0_4_ppt.c | 396 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_4_get_current_clk_freq() 401 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_4_get_current_clk_freq() 882 ret = smu_cmn_send_smc_msg_with_param(smu, msg_set_min, min_clk, NULL); in smu_v13_0_4_set_soft_freq_limited_range() 886 return smu_cmn_send_smc_msg_with_param(smu, msg_set_max, in smu_v13_0_4_set_soft_freq_limited_range() 1081 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GfxDeviceDriverReset, in smu_v13_0_4_mode2_reset() 1104 .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
|
D | smu_v13_0_0_ppt.c | 1981 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_enable_mgpu_fan_boost() 2174 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_set_power_profile_mode() 2397 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_set_df_cstate() 2432 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_mode1_reset() 2473 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_EnableAllSmuFeatures, in smu_v13_0_0_enable_gfx_features() 2498 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_smu_send_bad_mem_page_num() 2515 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_send_bad_mem_channel_flag()
|
D | smu_v13_0_7_ppt.c | 1935 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_7_enable_mgpu_fan_boost() 2113 smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetWorkloadMask, in smu_v13_0_7_set_power_profile_mode() 2176 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_7_set_df_cstate()
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.c | 350 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, in smu_cmn_send_smc_msg_with_param() function 397 return smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_send_smc_msg() 605 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_get_enabled_mask() 612 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_get_enabled_mask() 651 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_feature_update_enable_state() 657 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_feature_update_enable_state() 662 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_feature_update_enable_state() 668 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_feature_update_enable_state() 887 ret = smu_cmn_send_smc_msg_with_param(smu, drv2smu ? in smu_cmn_update_table()
|
D | smu_cmn.h | 44 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu,
|