/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0_7_ppt.c | 1511 (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()
|
D | smu_v13_0_0_ppt.c | 1555 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/ |
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 | 439 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()
|
D | vega10_hwmgr.c | 833 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()
|
D | smu7_hwmgr.c | 1873 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/ |
D | navi10_ppt.c | 1944 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()
|
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 | 1064 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()
|
D | arcturus_ppt.c | 1429 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/ |
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()
|
/drivers/gpu/drm/amd/pm/swsmu/inc/ |
D | amdgpu_smu.h | 531 uint32_t power_profile_mode; member
|
/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | hwmgr.h | 801 uint32_t power_profile_mode; member
|
/drivers/gpu/drm/amd/pm/swsmu/ |
D | amdgpu_smu.c | 1101 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()
|