/linux-6.1.9/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() 209 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GfxDeviceDriverReset, SMU_RESET_MODE_2, NULL); in smu_v12_0_mode2_reset() 223 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinGfxClk, min, NULL); in smu_v12_0_set_soft_freq_limited_range() 227 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxGfxClk, max, NULL); in smu_v12_0_set_soft_freq_limited_range() 234 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinFclkByFreq, min, NULL); in smu_v12_0_set_soft_freq_limited_range() 238 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxFclkByFreq, max, NULL); in smu_v12_0_set_soft_freq_limited_range() 243 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinSocclkByFreq, min, NULL); in smu_v12_0_set_soft_freq_limited_range() 247 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxSocclkByFreq, max, NULL); in smu_v12_0_set_soft_freq_limited_range() 252 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinVcn, min, NULL); in smu_v12_0_set_soft_freq_limited_range() 256 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() 656 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, 0, NULL); in renoir_dpm_set_vcn_enable() 677 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpJpeg, 0, NULL); in renoir_dpm_set_jpeg_enable() 683 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownJpeg, 0, NULL); in renoir_dpm_set_jpeg_enable() 817 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxGfxClk, in renoir_force_clk_levels() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | vangogh_ppt.c | 487 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, 0, NULL); in vangogh_dpm_set_vcn_enable() 491 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownVcn, 0, NULL); in vangogh_dpm_set_vcn_enable() 504 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpJpeg, 0, NULL); in vangogh_dpm_set_jpeg_enable() 508 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownJpeg, 0, NULL); in vangogh_dpm_set_jpeg_enable() 642 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GetFclkFrequency, 0, &cur_value); in vangogh_print_legacy_clk_levels() 744 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GetFclkFrequency, 0, &cur_value); in vangogh_print_clk_levels() 750 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GetGfxclkFrequency, 0, &cur_value); in vangogh_print_clk_levels() 1092 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_ActiveProcessNotify, in vangogh_set_power_profile_mode() 1119 ret = smu_cmn_send_smc_msg_with_param(smu, in vangogh_set_soft_freq_limited_range() 1125 ret = smu_cmn_send_smc_msg_with_param(smu, in vangogh_set_soft_freq_limited_range() [all …]
|
D | smu_v11_0.c | 668 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_notify_memory_pool_location() 674 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_notify_memory_pool_location() 685 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramAddrHigh, in smu_v11_0_notify_memory_pool_location() 689 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramAddrLow, in smu_v11_0_notify_memory_pool_location() 693 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramSize, in smu_v11_0_notify_memory_pool_location() 705 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_set_min_deep_sleep_dcefclk() 719 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_set_driver_table_location() 724 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_set_driver_table_location() 739 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_set_tool_table_location() 744 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v11_0_set_tool_table_location() [all …]
|
D | cyan_skillfish_ppt.c | 491 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_RequestGfxclk, in cyan_skillfish_od_edit_dpm_table() 510 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_ForceGfxVid, vid, NULL); in cyan_skillfish_od_edit_dpm_table() 582 .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
|
D | navi10_ppt.c | 1141 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, 1, NULL); in navi10_dpm_set_vcn_enable() 1824 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, 0, NULL); in navi10_pre_display_config_changed() 1847 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, in navi10_display_config_changed() 2065 smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetWorkloadMask, in navi10_set_power_profile_mode() 2088 ret = smu_cmn_send_smc_msg_with_param(smu, in navi10_notify_smc_display_config() 2390 ret = smu_cmn_send_smc_msg_with_param(smu, in navi10_update_pcie_parameters() 2442 ret = smu_cmn_send_smc_msg_with_param(smu, in navi10_overdrive_get_gfx_clk_base_voltage() 2819 ret = smu_cmn_send_smc_msg_with_param(smu, in navi10_set_dummy_pstates_table_location() 2826 return smu_cmn_send_smc_msg_with_param(smu, in navi10_set_dummy_pstates_table_location() 2859 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() 1544 ret = smu_cmn_send_smc_msg_with_param(smu, in arcturus_set_power_profile_mode() 2268 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DFCstateControl, state, NULL); in arcturus_set_df_cstate() 2289 return smu_cmn_send_smc_msg_with_param(smu, in arcturus_allow_xgmi_power_down() 2294 return smu_cmn_send_smc_msg_with_param(smu, in arcturus_allow_xgmi_power_down() 2468 .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
|
D | sienna_cichlid_ppt.c | 1135 ret = smu_cmn_send_smc_msg_with_param(smu, enable ? in sienna_cichlid_dpm_set_vcn_enable() 1152 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpJpeg, 0, NULL); in sienna_cichlid_dpm_set_jpeg_enable() 1158 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownJpeg, 0, NULL); in sienna_cichlid_dpm_set_jpeg_enable() 1519 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, 0, NULL); in sienna_cichlid_pre_display_config_changed() 1544 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, in sienna_cichlid_display_config_changed() 1762 smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetWorkloadMask, in sienna_cichlid_set_power_profile_mode() 1785 ret = smu_cmn_send_smc_msg_with_param(smu, in sienna_cichlid_notify_smc_display_config() 2098 ret = smu_cmn_send_smc_msg_with_param(smu, in sienna_cichlid_update_pcie_parameters() 4074 return smu_cmn_send_smc_msg_with_param(smu, in sienna_cichlid_enable_mgpu_fan_boost() 4094 ret = smu_cmn_send_smc_msg_with_param(smu, in sienna_cichlid_gpo_control() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0.c | 731 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramAddrHigh, in smu_v13_0_notify_memory_pool_location() 735 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramAddrLow, in smu_v13_0_notify_memory_pool_location() 739 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DramLogSetDramSize, in smu_v13_0_notify_memory_pool_location() 751 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_set_min_deep_sleep_dcefclk() 765 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_set_driver_table_location() 770 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_set_driver_table_location() 785 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_set_tool_table_location() 790 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_set_tool_table_location() 806 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, count, NULL); in smu_v13_0_init_display_count() 823 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() 563 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinGfxClk, in smu_v13_0_5_od_edit_dpm_table() 570 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxGfxClk, in smu_v13_0_5_od_edit_dpm_table() 606 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_5_get_current_clk_freq() 854 ret = smu_cmn_send_smc_msg_with_param(smu, msg_set_min, min, NULL); in smu_v13_0_5_set_soft_freq_limited_range() 858 ret = smu_cmn_send_smc_msg_with_param(smu, msg_set_max, max, NULL); in smu_v13_0_5_set_soft_freq_limited_range() [all …]
|
D | yellow_carp_ppt.c | 221 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, in yellow_carp_dpm_set_vcn_enable() 224 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerDownVcn, in yellow_carp_dpm_set_vcn_enable() 235 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_PowerUpJpeg, in yellow_carp_dpm_set_jpeg_enable() 238 ret = smu_cmn_send_smc_msg_with_param(smu, in yellow_carp_dpm_set_jpeg_enable() 275 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GfxDeviceDriverReset, type, NULL); in yellow_carp_mode_reset() 686 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetHardMinGfxClk, in yellow_carp_od_edit_dpm_table() 693 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetSoftMaxGfxClk, in yellow_carp_od_edit_dpm_table() 728 return smu_cmn_send_smc_msg_with_param(smu, in yellow_carp_get_current_clk_freq() 732 return smu_cmn_send_smc_msg_with_param(smu, in yellow_carp_get_current_clk_freq() 988 ret = smu_cmn_send_smc_msg_with_param(smu, msg_set_min, min, NULL); in yellow_carp_set_soft_freq_limited_range() [all …]
|
D | smu_v13_0_4_ppt.c | 389 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_4_get_current_clk_freq() 394 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_4_get_current_clk_freq() 861 ret = smu_cmn_send_smc_msg_with_param(smu, msg_set_min, min, NULL); in smu_v13_0_4_set_soft_freq_limited_range() 865 return smu_cmn_send_smc_msg_with_param(smu, msg_set_max, in smu_v13_0_4_set_soft_freq_limited_range() 983 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GfxDeviceDriverReset, in smu_v13_0_4_mode2_reset() 1006 .send_smc_msg_with_param = smu_cmn_send_smc_msg_with_param,
|
D | aldebaran_ppt.c | 946 ret = smu_cmn_send_smc_msg_with_param(smu, in aldebaran_upload_dpm_level() 960 ret = smu_cmn_send_smc_msg_with_param(smu, in aldebaran_upload_dpm_level() 974 ret = smu_cmn_send_smc_msg_with_param(smu, in aldebaran_upload_dpm_level() 1360 ret = smu_cmn_send_smc_msg_with_param(smu, in aldebaran_set_soft_freq_limited_range() 1652 return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_DFCstateControl, state, NULL); in aldebaran_set_df_cstate() 1663 return smu_cmn_send_smc_msg_with_param(smu, in aldebaran_allow_xgmi_power_down() 1918 ret = smu_cmn_send_smc_msg_with_param(smu, in aldebaran_mode1_reset() 1982 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_HeavySBR, enable ? 1 : 0, NULL); in aldebaran_smu_handle_passthrough_sbr() 2032 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetNumBadHbmPagesRetired, size, NULL); in aldebaran_smu_send_hbm_bad_page_num() 2067 …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_0_ppt.c | 1236 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_update_pcie_parameters() 1489 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_enable_mgpu_fan_boost() 1679 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_set_power_profile_mode() 1901 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_set_df_cstate() 1942 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_0_smu_send_bad_mem_page_num() 1959 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 | 1187 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_7_update_pcie_parameters() 1409 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_7_enable_mgpu_fan_boost() 1585 smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetWorkloadMask, in smu_v13_0_7_set_power_profile_mode() 1647 return smu_cmn_send_smc_msg_with_param(smu, in smu_v13_0_7_set_df_cstate()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.c | 348 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, in smu_cmn_send_smc_msg_with_param() function 395 return smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_send_smc_msg() 597 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_get_enabled_mask() 604 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_get_enabled_mask() 643 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_feature_update_enable_state() 649 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_feature_update_enable_state() 654 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_feature_update_enable_state() 660 ret = smu_cmn_send_smc_msg_with_param(smu, in smu_cmn_feature_update_enable_state() 879 ret = smu_cmn_send_smc_msg_with_param(smu, drv2smu ? in smu_cmn_update_table()
|
D | smu_cmn.h | 36 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu,
|