Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_7_ppt.c1511 (i == smu->power_profile_mode) ? "* " : " "); in smu_v13_0_7_get_power_profile_mode()
1572 smu->power_profile_mode = input[size]; in smu_v13_0_7_set_power_profile_mode()
1574 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_WINDOW3D) { in smu_v13_0_7_set_power_profile_mode()
1575 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in smu_v13_0_7_set_power_profile_mode()
1579 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v13_0_7_set_power_profile_mode()
1622 smu->power_profile_mode); in smu_v13_0_7_set_power_profile_mode()
Dsmu_v13_0_0_ppt.c1555 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in smu_v13_0_0_get_power_profile_mode()
1596 smu->power_profile_mode = input[size]; in smu_v13_0_0_set_power_profile_mode()
1598 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v13_0_0_set_power_profile_mode()
1599 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in smu_v13_0_0_set_power_profile_mode()
1603 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v13_0_0_set_power_profile_mode()
1651 smu->power_profile_mode); in smu_v13_0_0_set_power_profile_mode()
/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.c439 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega20_hwmgr_backend_init()
4011 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " "); in vega20_get_power_profile_mode()
4077 uint32_t power_profile_mode = input[size]; in vega20_set_power_profile_mode() local
4079 if (power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode()
4080 pr_err("Invalid power profile mode %d\n", power_profile_mode); in vega20_set_power_profile_mode()
4084 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode()
4165 conv_power_profile_to_pplib_workload(power_profile_mode); in vega20_set_power_profile_mode()
4170 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()
5302 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode()
5307 amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode()
5327 uint32_t power_profile_mode = input[size]; in vega10_set_power_profile_mode() local
5329 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega10_set_power_profile_mode()
5358 1 << power_profile_mode, in vega10_set_power_profile_mode()
5362 (!power_profile_mode) ? 0 : 1 << (power_profile_mode - 1), in vega10_set_power_profile_mode()
5365 hwmgr->power_profile_mode = power_profile_mode; in vega10_set_power_profile_mode()
Dsmu7_hwmgr.c1873 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_FULLSCREEN3D; in smu7_init_dpm_defaults()
5576 if (i == hwmgr->power_profile_mode) { in smu7_get_power_profile_mode()
5624 } else if (hwmgr->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE) { in smu7_patch_compute_profile_mode()
5664 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
5672 if (mode == hwmgr->power_profile_mode) in smu7_set_power_profile_mode()
5690 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c1944 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in navi10_get_power_profile_mode()
1997 smu->power_profile_mode = input[size]; in navi10_set_power_profile_mode()
1999 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode()
2000 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in navi10_set_power_profile_mode()
2004 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode()
2062 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.c1064 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in vangogh_get_power_profile_mode()
1103 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
Darcturus_ppt.c1429 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in arcturus_get_power_profile_mode()
1553 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
/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()
/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h531 uint32_t power_profile_mode; member
/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h801 uint32_t power_profile_mode; member
/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c1101 smu->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in smu_sw_init()
1879 if (smu->power_profile_mode != workload) in smu_adjust_power_state_dynamic()