Searched refs:smc_result (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu7_powertune.c | 1069 int smc_result; in smu7_enable_smc_cac() local 1070 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_smc_cac() 1073 PP_ASSERT_WITH_CODE((0 == smc_result), in smu7_enable_smc_cac() 1076 data->cac_enabled = (0 == smc_result) ? true : false; in smu7_enable_smc_cac() 1087 int smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_smc_cac() local 1090 PP_ASSERT_WITH_CODE((smc_result == 0), in smu7_disable_smc_cac() 1125 int smc_result; in smu7_enable_power_containment() local 1137 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment() 1140 PP_ASSERT_WITH_CODE((0 == smc_result), in smu7_enable_power_containment() 1142 if (0 == smc_result) in smu7_enable_power_containment() [all …]
|
/drivers/gpu/drm/radeon/ |
D | ci_dpm.c | 629 PPSMC_Result smc_result; in ci_enable_power_containment() local 636 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableDTE); in ci_enable_power_containment() 637 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment() 644 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_TDCLimitEnable); in ci_enable_power_containment() 645 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment() 652 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_PkgPwrLimitEnable); in ci_enable_power_containment() 653 if (smc_result != PPSMC_Result_OK) { in ci_enable_power_containment() 687 PPSMC_Result smc_result; in ci_enable_smc_cac() local 692 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in ci_enable_smc_cac() 693 if (smc_result != PPSMC_Result_OK) { in ci_enable_smc_cac() [all …]
|
D | ni_dpm.c | 2602 PPSMC_Result smc_result; in ni_enable_power_containment() local 2608 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_TDPClampingActive); in ni_enable_power_containment() 2609 if (smc_result != PPSMC_Result_OK) { in ni_enable_power_containment() 2617 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_TDPClampingInactive); in ni_enable_power_containment() 2618 if (smc_result != PPSMC_Result_OK) in ni_enable_power_containment() 3385 PPSMC_Result smc_result; in ni_enable_smc_cac() local 3390 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_CollectCAC_PowerCorreln); in ni_enable_smc_cac() 3393 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_CACLongTermAvgEnable); in ni_enable_smc_cac() 3394 if (PPSMC_Result_OK != smc_result) in ni_enable_smc_cac() 3398 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in ni_enable_smc_cac() [all …]
|
D | si_dpm.c | 2425 PPSMC_Result smc_result; in si_enable_power_containment() local 2431 smc_result = si_send_msg_to_smc(rdev, PPSMC_TDPClampingActive); in si_enable_power_containment() 2432 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2440 smc_result = si_send_msg_to_smc(rdev, PPSMC_TDPClampingInactive); in si_enable_power_containment() 2441 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2787 PPSMC_Result smc_result; in si_enable_smc_cac() local 2794 smc_result = si_send_msg_to_smc(rdev, PPSMC_CACLongTermAvgEnable); in si_enable_smc_cac() 2795 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2799 smc_result = si_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in si_enable_smc_cac() 2800 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() [all …]
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | si_dpm.c | 2520 PPSMC_Result smc_result; in si_enable_power_containment() local 2526 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_TDPClampingActive); in si_enable_power_containment() 2527 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2535 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_TDPClampingInactive); in si_enable_power_containment() 2536 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2885 PPSMC_Result smc_result; in si_enable_smc_cac() local 2892 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_CACLongTermAvgEnable); in si_enable_smc_cac() 2893 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2897 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_EnableCac); in si_enable_smc_cac() 2898 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() [all …]
|