Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dpp_psm.c290 if (hwmgr->power_profile_mode != workload && hwmgr->hwmgr_func->set_power_profile_mode) in psm_adjust_power_state_dynamic()
Dsmu10_hwmgr.c1353 i, profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in smu10_get_power_profile_mode()
1379 if (hwmgr->power_profile_mode == input[size]) in smu10_set_power_profile_mode()
1395 hwmgr->power_profile_mode = input[size]; in smu10_set_power_profile_mode()
Dvega20_hwmgr.c439 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega20_hwmgr_backend_init()
4022 i, profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " "); in vega20_get_power_profile_mode()
4088 uint32_t power_profile_mode = input[size]; in vega20_set_power_profile_mode() local
4090 if (power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode()
4091 pr_err("Invalid power profile mode %d\n", power_profile_mode); in vega20_set_power_profile_mode()
4095 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode()
4176 conv_power_profile_to_pplib_workload(power_profile_mode); in vega20_set_power_profile_mode()
4181 hwmgr->power_profile_mode = power_profile_mode; in vega20_set_power_profile_mode()
Dvega10_hwmgr.c833 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega10_hwmgr_backend_init()
5115 i, profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode()
5119 profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode()
5139 uint32_t power_profile_mode = input[size]; in vega10_set_power_profile_mode() local
5141 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega10_set_power_profile_mode()
5170 1 << power_profile_mode, in vega10_set_power_profile_mode()
5174 (!power_profile_mode) ? 0 : 1 << (power_profile_mode - 1), in vega10_set_power_profile_mode()
5177 hwmgr->power_profile_mode = power_profile_mode; in vega10_set_power_profile_mode()
Dsmu7_hwmgr.c1681 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_FULLSCREEN3D; in smu7_init_dpm_defaults()
5125 if (i == hwmgr->power_profile_mode) { in smu7_get_power_profile_mode()
5173 } else if (hwmgr->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE) { in smu7_patch_compute_profile_mode()
5213 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
5221 if (mode == hwmgr->power_profile_mode) in smu7_set_power_profile_mode()
5239 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c1447 i, profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in navi10_get_power_profile_mode()
1500 smu->power_profile_mode = input[size]; in navi10_set_power_profile_mode()
1502 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode()
1503 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in navi10_set_power_profile_mode()
1507 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode()
1565 smu->power_profile_mode); in navi10_set_power_profile_mode()
Dsienna_cichlid_ppt.c1278 i, profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in sienna_cichlid_get_power_profile_mode()
1331 smu->power_profile_mode = input[size]; in sienna_cichlid_set_power_profile_mode()
1333 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in sienna_cichlid_set_power_profile_mode()
1334 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in sienna_cichlid_set_power_profile_mode()
1338 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in sienna_cichlid_set_power_profile_mode()
1396 smu->power_profile_mode); in sienna_cichlid_set_power_profile_mode()
Darcturus_ppt.c1257 i, profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in arcturus_get_power_profile_mode()
1381 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c795 smu->power_profile_mode = profile_mode; in renoir_set_power_profile_mode()
1009 i, profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in renoir_get_power_profile_mode()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Damdgpu_smu.h442 uint32_t power_profile_mode; member
Dhwmgr.h801 uint32_t power_profile_mode; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c809 smu->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in smu_sw_init()
1559 if (smu->power_profile_mode != workload) in smu_adjust_power_state_dynamic()