Searched refs:smc_result (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu7_powertune.c | 1096 int smc_result; in smu7_enable_smc_cac() local 1097 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_smc_cac() 1100 PP_ASSERT_WITH_CODE((0 == smc_result), in smu7_enable_smc_cac() 1103 data->cac_enabled = smc_result == 0; in smu7_enable_smc_cac() 1114 int smc_result = smum_send_msg_to_smc(hwmgr, in smu7_disable_smc_cac() local 1117 PP_ASSERT_WITH_CODE((smc_result == 0), in smu7_disable_smc_cac() 1152 int smc_result; in smu7_enable_power_containment() local 1164 smc_result = smum_send_msg_to_smc(hwmgr, in smu7_enable_power_containment() 1167 PP_ASSERT_WITH_CODE((0 == smc_result), in smu7_enable_power_containment() 1169 if (0 == smc_result) in smu7_enable_power_containment() [all …]
|
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | ci_dpm.c | 614 PPSMC_Result smc_result; in ci_enable_power_containment() local 621 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableDTE); in ci_enable_power_containment() 622 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment() 629 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_TDCLimitEnable); in ci_enable_power_containment() 630 if (smc_result != PPSMC_Result_OK) in ci_enable_power_containment() 637 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_PkgPwrLimitEnable); in ci_enable_power_containment() 638 if (smc_result != PPSMC_Result_OK) { in ci_enable_power_containment() 672 PPSMC_Result smc_result; in ci_enable_smc_cac() local 677 smc_result = ci_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in ci_enable_smc_cac() 678 if (smc_result != PPSMC_Result_OK) { in ci_enable_smc_cac() [all …]
|
D | ni_dpm.c | 2603 PPSMC_Result smc_result; in ni_enable_power_containment() local 2609 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_TDPClampingActive); in ni_enable_power_containment() 2610 if (smc_result != PPSMC_Result_OK) { in ni_enable_power_containment() 2618 smc_result = rv770_send_msg_to_smc(rdev, PPSMC_TDPClampingInactive); in ni_enable_power_containment() 2619 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 …]
|
D | si_dpm.c | 2378 PPSMC_Result smc_result; in si_enable_power_containment() local 2384 smc_result = si_send_msg_to_smc(rdev, PPSMC_TDPClampingActive); in si_enable_power_containment() 2385 if (smc_result != PPSMC_Result_OK) { in si_enable_power_containment() 2393 smc_result = si_send_msg_to_smc(rdev, PPSMC_TDPClampingInactive); in si_enable_power_containment() 2394 if (smc_result != PPSMC_Result_OK) in si_enable_power_containment() 2740 PPSMC_Result smc_result; in si_enable_smc_cac() local 2747 smc_result = si_send_msg_to_smc(rdev, PPSMC_CACLongTermAvgEnable); in si_enable_smc_cac() 2748 if (smc_result != PPSMC_Result_OK) in si_enable_smc_cac() 2752 smc_result = si_send_msg_to_smc(rdev, PPSMC_MSG_EnableCac); in si_enable_smc_cac() 2753 if (smc_result != PPSMC_Result_OK) { in si_enable_smc_cac() [all …]
|
/linux-6.12.1/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 …]
|