/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
D | smu_v14_0_2_ppt.c | 1700 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in smu_v14_0_2_get_power_profile_mode() 1740 uint32_t current_profile_mode = smu->power_profile_mode; in smu_v14_0_2_set_power_profile_mode() 1741 smu->power_profile_mode = input[size]; in smu_v14_0_2_set_power_profile_mode() 1743 if (smu->power_profile_mode >= PP_SMC_POWER_PROFILE_COUNT) { in smu_v14_0_2_set_power_profile_mode() 1744 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in smu_v14_0_2_set_power_profile_mode() 1748 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v14_0_2_set_power_profile_mode() 1798 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE) in smu_v14_0_2_set_power_profile_mode() 1806 smu->power_profile_mode); in smu_v14_0_2_set_power_profile_mode()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | pp_psm.c | 302 if (hwmgr->power_profile_mode != workload[0] && hwmgr->hwmgr_func->set_power_profile_mode) in psm_adjust_power_state_dynamic()
|
D | smu10_hwmgr.c | 1477 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in smu10_get_power_profile_mode() 1503 if (hwmgr->power_profile_mode == input[size]) in smu10_set_power_profile_mode() 1519 hwmgr->power_profile_mode = input[size]; in smu10_set_power_profile_mode()
|
D | vega20_hwmgr.c | 446 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega20_hwmgr_backend_init() 4029 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " "); in vega20_get_power_profile_mode() 4095 uint32_t power_profile_mode = input[size]; in vega20_set_power_profile_mode() local 4097 if (power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode() 4098 pr_err("Invalid power profile mode %d\n", power_profile_mode); in vega20_set_power_profile_mode() 4102 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode() 4187 conv_power_profile_to_pplib_workload(power_profile_mode); in vega20_set_power_profile_mode() 4192 hwmgr->power_profile_mode = power_profile_mode; in vega20_set_power_profile_mode()
|
D | vega10_hwmgr.c | 841 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega10_hwmgr_backend_init() 5349 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode() 5354 amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode() 5374 uint32_t power_profile_mode = input[size]; in vega10_set_power_profile_mode() local 5376 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega10_set_power_profile_mode() 5405 1 << power_profile_mode, in vega10_set_power_profile_mode() 5409 (!power_profile_mode) ? 0 : 1 << (power_profile_mode - 1), in vega10_set_power_profile_mode() 5412 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() 5586 if (i == hwmgr->power_profile_mode) { in smu7_get_power_profile_mode() 5634 } else if (hwmgr->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE) { in smu7_patch_compute_profile_mode() 5674 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode() 5682 if (mode == hwmgr->power_profile_mode) in smu7_set_power_profile_mode() 5700 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0_7_ppt.c | 2382 (i == smu->power_profile_mode) ? "* " : " "); in smu_v13_0_7_get_power_profile_mode() 2445 smu->power_profile_mode = input[size]; in smu_v13_0_7_set_power_profile_mode() 2447 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_WINDOW3D) { in smu_v13_0_7_set_power_profile_mode() 2448 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in smu_v13_0_7_set_power_profile_mode() 2452 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v13_0_7_set_power_profile_mode() 2499 smu->power_profile_mode); in smu_v13_0_7_set_power_profile_mode()
|
D | smu_v13_0_0_ppt.c | 2448 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in smu_v13_0_0_get_power_profile_mode() 2490 smu->power_profile_mode = input[size]; in smu_v13_0_0_set_power_profile_mode() 2492 if (smu->power_profile_mode >= PP_SMC_POWER_PROFILE_COUNT) { in smu_v13_0_0_set_power_profile_mode() 2493 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in smu_v13_0_0_set_power_profile_mode() 2497 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in smu_v13_0_0_set_power_profile_mode() 2550 smu->power_profile_mode); in smu_v13_0_0_set_power_profile_mode()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | navi10_ppt.c | 1959 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in navi10_get_power_profile_mode() 2012 smu->power_profile_mode = input[size]; in navi10_set_power_profile_mode() 2014 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode() 2015 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in navi10_set_power_profile_mode() 2019 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in navi10_set_power_profile_mode() 2081 smu->power_profile_mode); in navi10_set_power_profile_mode()
|
D | sienna_cichlid_ppt.c | 1661 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in sienna_cichlid_get_power_profile_mode() 1717 smu->power_profile_mode = input[size]; in sienna_cichlid_set_power_profile_mode() 1719 if (smu->power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in sienna_cichlid_set_power_profile_mode() 1720 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", smu->power_profile_mode); in sienna_cichlid_set_power_profile_mode() 1724 if (smu->power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in sienna_cichlid_set_power_profile_mode() 1786 smu->power_profile_mode); in sienna_cichlid_set_power_profile_mode()
|
D | vangogh_ppt.c | 1051 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in vangogh_get_power_profile_mode() 1090 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
|
D | arcturus_ppt.c | 1408 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in arcturus_get_power_profile_mode() 1533 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
D | renoir_ppt.c | 900 smu->power_profile_mode = profile_mode; in renoir_set_power_profile_mode() 1163 i, amdgpu_pp_profile_name[i], (i == smu->power_profile_mode) ? "*" : " "); in renoir_get_power_profile_mode()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/ |
D | amdgpu_smu.h | 562 uint32_t power_profile_mode; member
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | hwmgr.h | 799 uint32_t power_profile_mode; member
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/ |
D | amdgpu_smu.c | 1260 smu->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in smu_sw_init() 2288 if (init || smu->power_profile_mode != workload[0]) in smu_adjust_power_state_dynamic()
|