Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dpp_psm.c299 if (hwmgr->power_profile_mode != workload && hwmgr->hwmgr_func->set_power_profile_mode) in psm_adjust_power_state_dynamic()
Dsmu10_hwmgr.c1469 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in smu10_get_power_profile_mode()
1495 if (hwmgr->power_profile_mode == input[size]) in smu10_set_power_profile_mode()
1511 hwmgr->power_profile_mode = input[size]; in smu10_set_power_profile_mode()
Dvega20_hwmgr.c438 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega20_hwmgr_backend_init()
4018 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " "); in vega20_get_power_profile_mode()
4084 uint32_t power_profile_mode = input[size]; in vega20_set_power_profile_mode() local
4086 if (power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode()
4087 pr_err("Invalid power profile mode %d\n", power_profile_mode); in vega20_set_power_profile_mode()
4091 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode()
4172 conv_power_profile_to_pplib_workload(power_profile_mode); in vega20_set_power_profile_mode()
4177 hwmgr->power_profile_mode = power_profile_mode; in vega20_set_power_profile_mode()
Dvega10_hwmgr.c832 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega10_hwmgr_backend_init()
5298 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode()
5303 amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode()
5323 uint32_t power_profile_mode = input[size]; in vega10_set_power_profile_mode() local
5325 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega10_set_power_profile_mode()
5354 1 << power_profile_mode, in vega10_set_power_profile_mode()
5358 (!power_profile_mode) ? 0 : 1 << (power_profile_mode - 1), in vega10_set_power_profile_mode()
5361 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()
5578 if (i == hwmgr->power_profile_mode) { in smu7_get_power_profile_mode()
5626 } else if (hwmgr->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE) { in smu7_patch_compute_profile_mode()
5666 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
5674 if (mode == hwmgr->power_profile_mode) in smu7_set_power_profile_mode()
5692 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_7_ppt.c1997 (i == smu->power_profile_mode) ? "* " : " "); in smu_v13_0_7_get_power_profile_mode()
2060 smu->power_profile_mode = input[size]; in smu_v13_0_7_set_power_profile_mode()
2062 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_WINDOW3D) { in smu_v13_0_7_set_power_profile_mode()
2063 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in smu_v13_0_7_set_power_profile_mode()
2067 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v13_0_7_set_power_profile_mode()
2110 smu->power_profile_mode); in smu_v13_0_7_set_power_profile_mode()
Dsmu_v13_0_0_ppt.c2073 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in smu_v13_0_0_get_power_profile_mode()
2114 smu->power_profile_mode = input[size]; in smu_v13_0_0_set_power_profile_mode()
2116 if (smu->power_profile_mode >= PP_SMC_POWER_PROFILE_COUNT) { in smu_v13_0_0_set_power_profile_mode()
2117 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in smu_v13_0_0_set_power_profile_mode()
2121 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v13_0_0_set_power_profile_mode()
2169 smu->power_profile_mode); in smu_v13_0_0_set_power_profile_mode()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c1951 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in navi10_get_power_profile_mode()
2004 smu->power_profile_mode = input[size]; in navi10_set_power_profile_mode()
2006 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode()
2007 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in navi10_set_power_profile_mode()
2011 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode()
2069 smu->power_profile_mode); in navi10_set_power_profile_mode()
Dsienna_cichlid_ppt.c1648 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in sienna_cichlid_get_power_profile_mode()
1704 smu->power_profile_mode = input[size]; in sienna_cichlid_set_power_profile_mode()
1706 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in sienna_cichlid_set_power_profile_mode()
1707 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in sienna_cichlid_set_power_profile_mode()
1711 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in sienna_cichlid_set_power_profile_mode()
1769 smu->power_profile_mode); in sienna_cichlid_set_power_profile_mode()
Dvangogh_ppt.c1070 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in vangogh_get_power_profile_mode()
1109 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
Darcturus_ppt.c1430 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in arcturus_get_power_profile_mode()
1554 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c902 smu->power_profile_mode = profile_mode; in renoir_set_power_profile_mode()
1126 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in renoir_get_power_profile_mode()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h519 uint32_t power_profile_mode; member
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h799 uint32_t power_profile_mode; member
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c1118 smu->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in smu_sw_init()
1891 if (smu->power_profile_mode != workload) in smu_adjust_power_state_dynamic()