/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | pp_psm.c | 299 if (hwmgr->power_profile_mode != workload && hwmgr->hwmgr_func->set_power_profile_mode) in psm_adjust_power_state_dynamic()
|
D | smu10_hwmgr.c | 1469 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()
|
D | vega20_hwmgr.c | 438 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()
|
D | vega10_hwmgr.c | 832 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()
|
D | smu7_hwmgr.c | 1860 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/ |
D | smu_v13_0_7_ppt.c | 1997 (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()
|
D | smu_v13_0_0_ppt.c | 2073 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/ |
D | navi10_ppt.c | 1951 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()
|
D | sienna_cichlid_ppt.c | 1648 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()
|
D | vangogh_ppt.c | 1070 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()
|
D | arcturus_ppt.c | 1430 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/ |
D | renoir_ppt.c | 902 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/ |
D | amdgpu_smu.h | 519 uint32_t power_profile_mode; member
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | hwmgr.h | 799 uint32_t power_profile_mode; member
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/ |
D | amdgpu_smu.c | 1118 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()
|