Home
last modified time | relevance | path

Searched refs:power_profile_mode (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0_2_ppt.c1700 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in smu_v14_0_2_get_power_profile_mode()
1740 uint32_t current_profile_mode = smu->power_profile_mode; in smu_v14_0_2_set_power_profile_mode()
1741 smu->power_profile_mode = input[size]; in smu_v14_0_2_set_power_profile_mode()
1743 if (smu->power_profile_mode >= PP_SMC_POWER_PROFILE_COUNT) { in smu_v14_0_2_set_power_profile_mode()
1744 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in smu_v14_0_2_set_power_profile_mode()
1748 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v14_0_2_set_power_profile_mode()
1798 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE) in smu_v14_0_2_set_power_profile_mode()
1806 smu->power_profile_mode); in smu_v14_0_2_set_power_profile_mode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dpp_psm.c302 if (hwmgr->power_profile_mode != workload[0] && hwmgr->hwmgr_func->set_power_profile_mode) in psm_adjust_power_state_dynamic()
Dsmu10_hwmgr.c1477 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in smu10_get_power_profile_mode()
1503 if (hwmgr->power_profile_mode == input[size]) in smu10_set_power_profile_mode()
1519 hwmgr->power_profile_mode = input[size]; in smu10_set_power_profile_mode()
Dvega20_hwmgr.c446 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega20_hwmgr_backend_init()
4029 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " "); in vega20_get_power_profile_mode()
4095 uint32_t power_profile_mode = input[size]; in vega20_set_power_profile_mode() local
4097 if (power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode()
4098 pr_err("Invalid power profile mode %d\n", power_profile_mode); in vega20_set_power_profile_mode()
4102 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode()
4187 conv_power_profile_to_pplib_workload(power_profile_mode); in vega20_set_power_profile_mode()
4192 hwmgr->power_profile_mode = power_profile_mode; in vega20_set_power_profile_mode()
Dvega10_hwmgr.c841 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega10_hwmgr_backend_init()
5349 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode()
5354 amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode()
5374 uint32_t power_profile_mode = input[size]; in vega10_set_power_profile_mode() local
5376 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega10_set_power_profile_mode()
5405 1 << power_profile_mode, in vega10_set_power_profile_mode()
5409 (!power_profile_mode) ? 0 : 1 << (power_profile_mode - 1), in vega10_set_power_profile_mode()
5412 hwmgr->power_profile_mode = power_profile_mode; in vega10_set_power_profile_mode()
Dsmu7_hwmgr.c1860 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_FULLSCREEN3D; in smu7_init_dpm_defaults()
5586 if (i == hwmgr->power_profile_mode) { in smu7_get_power_profile_mode()
5634 } else if (hwmgr->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE) { in smu7_patch_compute_profile_mode()
5674 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
5682 if (mode == hwmgr->power_profile_mode) in smu7_set_power_profile_mode()
5700 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_7_ppt.c2382 (i == smu->power_profile_mode) ? "* " : " "); in smu_v13_0_7_get_power_profile_mode()
2445 smu->power_profile_mode = input[size]; in smu_v13_0_7_set_power_profile_mode()
2447 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_WINDOW3D) { in smu_v13_0_7_set_power_profile_mode()
2448 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in smu_v13_0_7_set_power_profile_mode()
2452 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v13_0_7_set_power_profile_mode()
2499 smu->power_profile_mode); in smu_v13_0_7_set_power_profile_mode()
Dsmu_v13_0_0_ppt.c2448 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in smu_v13_0_0_get_power_profile_mode()
2490 smu->power_profile_mode = input[size]; in smu_v13_0_0_set_power_profile_mode()
2492 if (smu->power_profile_mode >= PP_SMC_POWER_PROFILE_COUNT) { in smu_v13_0_0_set_power_profile_mode()
2493 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in smu_v13_0_0_set_power_profile_mode()
2497 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v13_0_0_set_power_profile_mode()
2550 smu->power_profile_mode); in smu_v13_0_0_set_power_profile_mode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c1959 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in navi10_get_power_profile_mode()
2012 smu->power_profile_mode = input[size]; in navi10_set_power_profile_mode()
2014 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode()
2015 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in navi10_set_power_profile_mode()
2019 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode()
2081 smu->power_profile_mode); in navi10_set_power_profile_mode()
Dsienna_cichlid_ppt.c1661 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in sienna_cichlid_get_power_profile_mode()
1717 smu->power_profile_mode = input[size]; in sienna_cichlid_set_power_profile_mode()
1719 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in sienna_cichlid_set_power_profile_mode()
1720 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in sienna_cichlid_set_power_profile_mode()
1724 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in sienna_cichlid_set_power_profile_mode()
1786 smu->power_profile_mode); in sienna_cichlid_set_power_profile_mode()
Dvangogh_ppt.c1051 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in vangogh_get_power_profile_mode()
1090 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
Darcturus_ppt.c1408 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in arcturus_get_power_profile_mode()
1533 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c900 smu->power_profile_mode = profile_mode; in renoir_set_power_profile_mode()
1163 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in renoir_get_power_profile_mode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h562 uint32_t power_profile_mode; member
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h799 uint32_t power_profile_mode; member
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c1260 smu->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in smu_sw_init()
2288 if (init || smu->power_profile_mode != workload[0]) in smu_adjust_power_state_dynamic()