Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dpp_psm.c297 if (hwmgr->power_profile_mode != workload && hwmgr->hwmgr_func->set_power_profile_mode) in psm_adjust_power_state_dynamic()
A Dsmu10_hwmgr.c1466 i, profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in smu10_get_power_profile_mode()
1492 if (hwmgr->power_profile_mode == input[size]) in smu10_set_power_profile_mode()
1508 hwmgr->power_profile_mode = input[size]; in smu10_set_power_profile_mode()
A Dvega20_hwmgr.c439 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega20_hwmgr_backend_init()
4024 i, profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " "); in vega20_get_power_profile_mode()
4090 uint32_t power_profile_mode = input[size]; in vega20_set_power_profile_mode() local
4092 if (power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode()
4093 pr_err("Invalid power profile mode %d\n", power_profile_mode); in vega20_set_power_profile_mode()
4097 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode()
4178 conv_power_profile_to_pplib_workload(power_profile_mode); in vega20_set_power_profile_mode()
4183 hwmgr->power_profile_mode = power_profile_mode; in vega20_set_power_profile_mode()
A Dvega10_hwmgr.c833 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega10_hwmgr_backend_init()
5124 i, profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode()
5128 profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode()
5148 uint32_t power_profile_mode = input[size]; in vega10_set_power_profile_mode() local
5150 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega10_set_power_profile_mode()
5179 1 << power_profile_mode, in vega10_set_power_profile_mode()
5183 (!power_profile_mode) ? 0 : 1 << (power_profile_mode - 1), in vega10_set_power_profile_mode()
5186 hwmgr->power_profile_mode = power_profile_mode; in vega10_set_power_profile_mode()
A Dsmu7_hwmgr.c1810 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_FULLSCREEN3D; in smu7_init_dpm_defaults()
5530 if (i == hwmgr->power_profile_mode) { in smu7_get_power_profile_mode()
5578 } else if (hwmgr->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE) { in smu7_patch_compute_profile_mode()
5618 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
5626 if (mode == hwmgr->power_profile_mode) in smu7_set_power_profile_mode()
5644 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
A Dnavi10_ppt.c1762 i, profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in navi10_get_power_profile_mode()
1815 smu->power_profile_mode = input[size]; in navi10_set_power_profile_mode()
1817 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode()
1818 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in navi10_set_power_profile_mode()
1822 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode()
1880 smu->power_profile_mode); in navi10_set_power_profile_mode()
A Dsienna_cichlid_ppt.c1391 i, profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in sienna_cichlid_get_power_profile_mode()
1447 smu->power_profile_mode = input[size]; in sienna_cichlid_set_power_profile_mode()
1449 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in sienna_cichlid_set_power_profile_mode()
1450 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in sienna_cichlid_set_power_profile_mode()
1454 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in sienna_cichlid_set_power_profile_mode()
1512 smu->power_profile_mode); in sienna_cichlid_set_power_profile_mode()
A Dvangogh_ppt.c1069 i, profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in vangogh_get_power_profile_mode()
1108 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
A Darcturus_ppt.c1456 i, profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in arcturus_get_power_profile_mode()
1580 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/
A Drenoir_ppt.c892 smu->power_profile_mode = profile_mode; in renoir_set_power_profile_mode()
1124 i, profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in renoir_get_power_profile_mode()
/linux/drivers/gpu/drm/amd/pm/inc/
A Damdgpu_smu.h529 uint32_t power_profile_mode; member
A Dhwmgr.h803 uint32_t power_profile_mode; member
/linux/drivers/gpu/drm/amd/pm/swsmu/
A Damdgpu_smu.c1043 smu->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in smu_sw_init()
1771 if (smu->power_profile_mode != workload) in smu_adjust_power_state_dynamic()

Completed in 68 milliseconds