Home
last modified time | relevance | path

Searched refs:smc_result (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu7_powertune.c1064 int smc_result; in smu7_enable_smc_cac() local
1065 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_smc_cac()
1067 PP_ASSERT_WITH_CODE((0 == smc_result), in smu7_enable_smc_cac()
1070 data->cac_enabled = (0 == smc_result) ? true : false; in smu7_enable_smc_cac()
1081 int smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_smc_cac() local
1083 PP_ASSERT_WITH_CODE((smc_result == 0), in smu7_disable_smc_cac()
1114 int smc_result; in smu7_enable_power_containment() local
1126 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment()
1128 PP_ASSERT_WITH_CODE((0 == smc_result), in smu7_enable_power_containment()
1130 if (0 == smc_result) in smu7_enable_power_containment()
[all …]
/Linux-v5.4/drivers/gpu/drm/radeon/
Dci_dpm.c644 PPSMC_Result smc_result; in ci_enable_power_containment() local
651 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableDTE); in ci_enable_power_containment()
652 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment()
659 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_TDCLimitEnable); in ci_enable_power_containment()
660 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment()
667 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_PkgPwrLimitEnable); in ci_enable_power_containment()
668 if (smc_result != PPSMC_Result_OK) { in ci_enable_power_containment()
702 PPSMC_Result smc_result; in ci_enable_smc_cac() local
707 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in ci_enable_smc_cac()
708 if (smc_result != PPSMC_Result_OK) { in ci_enable_smc_cac()
[all …]
Dni_dpm.c2599 PPSMC_Result smc_result; in ni_enable_power_containment() local
2605 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_TDPClampingActive); in ni_enable_power_containment()
2606 if (smc_result != PPSMC_Result_OK) { in ni_enable_power_containment()
2614 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_TDPClampingInactive); in ni_enable_power_containment()
2615 if (smc_result != PPSMC_Result_OK) in ni_enable_power_containment()
3383 PPSMC_Result smc_result; in ni_enable_smc_cac() local
3388 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_CollectCAC_PowerCorreln); in ni_enable_smc_cac()
3391 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_CACLongTermAvgEnable); in ni_enable_smc_cac()
3392 if (PPSMC_Result_OK != smc_result) in ni_enable_smc_cac()
3396 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in ni_enable_smc_cac()
[all …]
Dsi_dpm.c2444 PPSMC_Result smc_result; in si_enable_power_containment() local
2450 smc_result = si_send_msg_to_smc(rdev, PPSMC_TDPClampingActive); in si_enable_power_containment()
2451 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment()
2459 smc_result = si_send_msg_to_smc(rdev, PPSMC_TDPClampingInactive); in si_enable_power_containment()
2460 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment()
2806 PPSMC_Result smc_result; in si_enable_smc_cac() local
2813 smc_result = si_send_msg_to_smc(rdev, PPSMC_CACLongTermAvgEnable); in si_enable_smc_cac()
2814 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac()
2818 smc_result = si_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in si_enable_smc_cac()
2819 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c2540 PPSMC_Result smc_result; in si_enable_power_containment() local
2546 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_TDPClampingActive); in si_enable_power_containment()
2547 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment()
2555 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_TDPClampingInactive); in si_enable_power_containment()
2556 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment()
2905 PPSMC_Result smc_result; in si_enable_smc_cac() local
2912 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_CACLongTermAvgEnable); in si_enable_smc_cac()
2913 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac()
2917 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_EnableCac); in si_enable_smc_cac()
2918 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac()
[all …]