Home
last modified time | relevance | path

Searched refs:smu_cmn_send_smc_msg (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Dsmu_v12_0.c112 return smu_cmn_send_smc_msg(smu, SMU_MSG_PowerDownSdma, NULL); in smu_v12_0_powergate_sdma()
114 return smu_cmn_send_smc_msg(smu, SMU_MSG_PowerUpSdma, NULL); in smu_v12_0_powergate_sdma()
158 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_AllowGfxOff, NULL); in smu_v12_0_gfx_off_control()
161 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_DisallowGfxOff, NULL); in smu_v12_0_gfx_off_control()
H A Drenoir_ppt.c292 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetMaxGfxclkFrequency, max); in renoir_get_dpm_ultimate_freq()
320 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetMinGfxclkFrequency, min); in renoir_get_dpm_ultimate_freq()
466 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PowerDownVcn, NULL); in renoir_dpm_set_vcn_enable()
1157 .send_smc_msg = smu_cmn_send_smc_msg,
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Dsmu_v12_0.c116 return smu_cmn_send_smc_msg(smu, SMU_MSG_PowerDownSdma, NULL); in smu_v12_0_powergate_sdma()
118 return smu_cmn_send_smc_msg(smu, SMU_MSG_PowerUpSdma, NULL); in smu_v12_0_powergate_sdma()
163 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_AllowGfxOff, NULL); in smu_v12_0_gfx_off_control()
166 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_DisallowGfxOff, NULL); in smu_v12_0_gfx_off_control()
H A Drenoir_ppt.c328 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetMaxGfxclkFrequency, max); in renoir_get_dpm_ultimate_freq()
356 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetMinGfxclkFrequency, min); in renoir_get_dpm_ultimate_freq()
663 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PowerDownVcn, NULL); in renoir_dpm_set_vcn_enable()
1440 .send_smc_msg = smu_cmn_send_smc_msg,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/
H A Dsmu_cmn.c153 int smu_cmn_send_smc_msg(struct smu_context *smu, in smu_cmn_send_smc_msg() function
331 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetEnabledSmuFeaturesHigh, &feature_mask_high); in smu_cmn_get_enabled_mask()
335 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetEnabledSmuFeaturesLow, &feature_mask_low); in smu_cmn_get_enabled_mask()
558 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetDriverIfVersion, if_version); in smu_cmn_get_smc_version()
566 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSmuVersion, smu_version); in smu_cmn_get_smc_version()
H A Dsmu_cmn.h34 int smu_cmn_send_smc_msg(struct smu_context *smu,
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/
H A Dsmu_cmn.c393 int smu_cmn_send_smc_msg(struct smu_context *smu, in smu_cmn_send_smc_msg() function
617 ret = smu_cmn_send_smc_msg(smu, in smu_cmn_get_enabled_mask()
623 ret = smu_cmn_send_smc_msg(smu, in smu_cmn_get_enabled_mask()
841 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetDriverIfVersion, if_version); in smu_cmn_get_smc_version()
849 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSmuVersion, smu_version); in smu_cmn_get_smc_version()
1039 ret = smu_cmn_send_smc_msg(smu, msg, NULL); in smu_cmn_set_mp1_state()
H A Dsmu_cmn.h49 int smu_cmn_send_smc_msg(struct smu_context *smu,
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c818 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_AllowGfxOff, NULL); in smu_v13_0_gfx_off_control()
820 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_DisallowGfxOff, NULL); in smu_v13_0_gfx_off_control()
832 return smu_cmn_send_smc_msg(smu, (en ? SMU_MSG_EnableAllSmuFeatures : in smu_v13_0_system_features_control()
841 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_DALNotPresent, NULL); in smu_v13_0_notify_display_change()
1015 return smu_cmn_send_smc_msg(smu, in smu_v13_0_allow_ih_interrupt()
1324 return smu_cmn_send_smc_msg(smu, in smu_v13_0_ack_ac_dc_interrupt()
1516 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_BacoAudioD3PME, NULL); in smu_v13_0_set_azalia_d3_pme()
1527 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GfxDriverResetRecovery, NULL); in smu_v13_0_wait_for_reset_complete()
2096 res = smu_cmn_send_smc_msg(smu, SMU_MSG_RunDcBtc, NULL); in smu_v13_0_run_btc()
2267 ret = smu_cmn_send_smc_msg(sm in smu_v13_0_baco_set_state()
[all...]
H A Dsmu_v13_0_6_ppt.c310 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetMetricsTable, NULL); in smu_v13_0_6_get_metrics_table()
448 ret = smu_cmn_send_smc_msg( in smu_v13_0_6_get_dpm_ultimate_freq()
459 ret = smu_cmn_send_smc_msg( in smu_v13_0_6_get_dpm_ultimate_freq()
1243 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetPptLimit, &power_limit); in smu_v13_0_6_get_power_limit()
1391 smu_cmn_send_smc_msg(smu, SMU_MSG_PrepareMp1ForUnload, NULL); in smu_v13_0_6_notify_unload()
1446 smu_cmn_send_smc_msg(smu, SMU_MSG_DisableDeterminism, NULL); in smu_v13_0_6_set_performance_level()
1691 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_RequestI2cTransaction, in smu_v13_0_6_request_i2c_xfer()
2212 .send_smc_msg = smu_cmn_send_smc_msg,
H A Daldebaran_ppt.c487 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_BoardPowerCalibration, NULL); in aldebaran_run_board_btc()
498 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_RunDcBtc, NULL); in aldebaran_run_btc()
1218 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetPptLimit, in aldebaran_get_power_limit()
1279 smu_cmn_send_smc_msg(smu, SMU_MSG_DisableDeterminism, NULL); in aldebaran_set_performance_level()
1904 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_Mode1Reset, NULL); in aldebaran_mode1_reset()
2102 .send_smc_msg = smu_cmn_send_smc_msg,
H A Dyellow_carp_ppt.c218 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PrepareMp1ForUnload, NULL); in yellow_carp_system_features_control()
273 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_EnableGfxOff, NULL); in yellow_carp_post_smu_init()
1342 .send_smc_msg = smu_cmn_send_smc_msg,
H A Dsmu_v13_0_5_ppt.c191 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PrepareMp1ForUnload, NULL); in smu_v13_0_5_system_features_control()
1115 .send_smc_msg = smu_cmn_send_smc_msg,
H A Dsmu_v13_0_4_ppt.c230 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PrepareMp1ForUnload, NULL); in smu_v13_0_4_system_features_control()
1105 .send_smc_msg = smu_cmn_send_smc_msg,
H A Dsmu_v13_0_0_ppt.c2445 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_Mode1Reset, NULL); in smu_v13_0_0_mode1_reset()
2461 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_Mode2Reset, NULL); in smu_v13_0_0_mode2_reset()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c745 ret = smu_cmn_send_smc_msg(smu, (en ? SMU_MSG_EnableAllSmuFeatures : in smu_v11_0_system_features_control()
942 return smu_cmn_send_smc_msg(smu, in smu_v11_0_ack_ac_dc_interrupt()
1074 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_AllowGfxOff, NULL); in smu_v11_0_gfx_off_control()
1076 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_DisallowGfxOff, NULL); in smu_v11_0_gfx_off_control()
1464 return smu_cmn_send_smc_msg(smu, SMU_MSG_BacoAudioD3PME, NULL); in smu_v11_0_set_azalia_d3_pme()
1527 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_ExitBaco, NULL); in smu_v11_0_baco_set_state()
1574 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_Mode1Reset, NULL); in smu_v11_0_mode1_reset()
H A Dnavi10_ppt.c832 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PowerDownVcn, NULL); in navi10_dpm_set_vcn_enable()
847 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PowerUpJpeg, NULL); in navi10_dpm_set_jpeg_enable()
853 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PowerDownJpeg, NULL); in navi10_dpm_set_jpeg_enable()
2188 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_RunBtc, NULL); in navi10_run_btc()
2252 return smu_cmn_send_smc_msg(smu, SMU_MSG_DAL_ENABLE_DUMMY_PSTATE_CHANGE, NULL); in navi10_umc_hybrid_cdr_workaround()
2723 .send_smc_msg = smu_cmn_send_smc_msg,
H A Darcturus_ppt.c481 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_RunAfllBtc, NULL); in arcturus_run_btc()
487 return smu_cmn_send_smc_msg(smu, SMU_MSG_RunDcBtc, NULL); in arcturus_run_btc()
2135 smu_cmn_send_smc_msg(smu, SMU_MSG_ReadSerialNumTop32, &top32); in arcturus_get_unique_id()
2136 smu_cmn_send_smc_msg(smu, SMU_MSG_ReadSerialNumBottom32, &bottom32); in arcturus_get_unique_id()
2367 .send_smc_msg = smu_cmn_send_smc_msg,
H A Dsienna_cichlid_ppt.c1764 return smu_cmn_send_smc_msg(smu, SMU_MSG_RunDcBtc, NULL); in sienna_cichlid_run_btc()
2806 .send_smc_msg = smu_cmn_send_smc_msg,
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c777 return smu_cmn_send_smc_msg(smu, (en ? SMU_MSG_EnableAllSmuFeatures : in smu_v11_0_system_features_control()
983 return smu_cmn_send_smc_msg(smu, in smu_v11_0_ack_ac_dc_interrupt()
1118 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_AllowGfxOff, NULL); in smu_v11_0_gfx_off_control()
1120 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_DisallowGfxOff, NULL); in smu_v11_0_gfx_off_control()
1546 return smu_cmn_send_smc_msg(smu, SMU_MSG_BacoAudioD3PME, NULL); in smu_v11_0_set_azalia_d3_pme()
1633 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_ExitBaco, NULL); in smu_v11_0_baco_set_state()
1681 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_Mode1Reset, NULL); in smu_v11_0_mode1_reset()
H A Dcyan_skillfish_ppt.c509 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_UnforceGfxVid, NULL); in cyan_skillfish_od_edit_dpm_table()
593 .send_smc_msg = smu_cmn_send_smc_msg,
H A Darcturus_ppt.c520 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_RunAfllBtc, NULL); in arcturus_run_btc()
526 return smu_cmn_send_smc_msg(smu, SMU_MSG_RunDcBtc, NULL); in arcturus_run_btc()
2232 smu_cmn_send_smc_msg(smu, SMU_MSG_ReadSerialNumTop32, &top32); in arcturus_get_unique_id()
2233 smu_cmn_send_smc_msg(smu, SMU_MSG_ReadSerialNumBottom32, &bottom32); in arcturus_get_unique_id()
2470 .send_smc_msg = smu_cmn_send_smc_msg,
H A Dvangogh_ppt.c2262 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_EnableGfxOff, NULL); in vangogh_post_smu_init()
2357 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSlowPPTLimit, &ppt_limit); in vangogh_get_power_limit()
2370 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetFastPPTLimit, &ppt_limit); in vangogh_get_power_limit()
2528 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetGfxOffEntryCount, &value); in vangogh_get_gfxoff_entrycount()
2545 .send_smc_msg = smu_cmn_send_smc_msg,
H A Dnavi10_ppt.c1154 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PowerDownVcn, NULL); in navi10_dpm_set_vcn_enable()
1169 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PowerUpJpeg, NULL); in navi10_dpm_set_jpeg_enable()
1175 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_PowerDownJpeg, NULL); in navi10_dpm_set_jpeg_enable()
2743 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_RunBtc, NULL); in navi10_run_btc()
2807 return smu_cmn_send_smc_msg(smu, SMU_MSG_DAL_ENABLE_DUMMY_PSTATE_CHANGE, NULL); in navi10_umc_hybrid_cdr_workaround()
3517 .send_smc_msg = smu_cmn_send_smc_msg,
H A Dsienna_cichlid_ppt.c2426 res = smu_cmn_send_smc_msg(smu, SMU_MSG_RunDcBtc, NULL); in sienna_cichlid_run_btc()
4416 .send_smc_msg = smu_cmn_send_smc_msg,

Completed in 55 milliseconds