Searched refs:smc_result (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu7_powertune.c | 1099 int smc_result; in smu7_enable_smc_cac() local 1100 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_smc_cac() 1103 PP_ASSERT_WITH_CODE((0 == smc_result), in smu7_enable_smc_cac() 1106 data->cac_enabled = (0 == smc_result) ? true : false; in smu7_enable_smc_cac() 1117 int smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_smc_cac() local 1120 PP_ASSERT_WITH_CODE((smc_result == 0), in smu7_disable_smc_cac() 1155 int smc_result; in smu7_enable_power_containment() local 1167 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment() 1170 PP_ASSERT_WITH_CODE((0 == smc_result), in smu7_enable_power_containment() 1172 if (0 == smc_result) in smu7_enable_power_containment() [all …]
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | ci_dpm.c | 619 PPSMC_Result smc_result; in ci_enable_power_containment() local 626 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableDTE); in ci_enable_power_containment() 627 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment() 634 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_TDCLimitEnable); in ci_enable_power_containment() 635 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment() 642 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_PkgPwrLimitEnable); in ci_enable_power_containment() 643 if (smc_result != PPSMC_Result_OK) { in ci_enable_power_containment() 677 PPSMC_Result smc_result; in ci_enable_smc_cac() local 682 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in ci_enable_smc_cac() 683 if (smc_result != PPSMC_Result_OK) { in ci_enable_smc_cac() [all …]
|
D | ni_dpm.c | 2599 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() 3382 PPSMC_Result smc_result; in ni_enable_smc_cac() local 3387 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_CollectCAC_PowerCorreln); in ni_enable_smc_cac() 3390 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_CACLongTermAvgEnable); in ni_enable_smc_cac() 3391 if (PPSMC_Result_OK != smc_result) in ni_enable_smc_cac() 3395 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in ni_enable_smc_cac() [all …]
|
D | si_dpm.c | 2422 PPSMC_Result smc_result; in si_enable_power_containment() local 2428 smc_result = si_send_msg_to_smc(rdev, PPSMC_TDPClampingActive); in si_enable_power_containment() 2429 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2437 smc_result = si_send_msg_to_smc(rdev, PPSMC_TDPClampingInactive); in si_enable_power_containment() 2438 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2784 PPSMC_Result smc_result; in si_enable_smc_cac() local 2791 smc_result = si_send_msg_to_smc(rdev, PPSMC_CACLongTermAvgEnable); in si_enable_smc_cac() 2792 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2796 smc_result = si_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in si_enable_smc_cac() 2797 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.c | 2535 PPSMC_Result smc_result; in si_enable_power_containment() local 2541 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_TDPClampingActive); in si_enable_power_containment() 2542 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2550 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_TDPClampingInactive); in si_enable_power_containment() 2551 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2900 PPSMC_Result smc_result; in si_enable_smc_cac() local 2907 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_CACLongTermAvgEnable); in si_enable_smc_cac() 2908 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2912 smc_result = amdgpu_si_send_msg_to_smc(adev, PPSMC_MSG_EnableCac); in si_enable_smc_cac() 2913 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() [all …]
|