Home
last modified time | relevance | path

Searched refs:profile_mode (Results 1 – 4 of 4) sorted by relevance

/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu12/
H A Drenoir_ppt.c870 uint32_t profile_mode = input[size]; in renoir_set_power_profile_mode() local
872 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in renoir_set_power_profile_mode()
873 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in renoir_set_power_profile_mode()
877 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in renoir_set_power_profile_mode()
878 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in renoir_set_power_profile_mode()
884 profile_mode); in renoir_set_power_profile_mode()
890 dev_dbg(smu->adev->dev, "Unsupported power profile mode %d on RENOIR\n", profile_mode); in renoir_set_power_profile_mode()
902 smu->power_profile_mode = profile_mode; in renoir_set_power_profile_mode()
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu11/
H A Dvangogh_ppt.c1099 uint32_t profile_mode = input[size]; in vangogh_set_power_profile_mode() local
1101 if (profile_mode >= PP_SMC_POWER_PROFILE_COUNT) { in vangogh_set_power_profile_mode()
1102 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in vangogh_set_power_profile_mode()
1106 if (profile_mode == PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT || in vangogh_set_power_profile_mode()
1107 profile_mode == PP_SMC_POWER_PROFILE_POWERSAVING) in vangogh_set_power_profile_mode()
1113 profile_mode); in vangogh_set_power_profile_mode()
1116 profile_mode); in vangogh_set_power_profile_mode()
1129 smu->power_profile_mode = profile_mode; in vangogh_set_power_profile_mode()
H A Darcturus_ppt.c1472 uint32_t profile_mode = input[size]; in arcturus_set_power_profile_mode() local
1476 if (profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in arcturus_set_power_profile_mode()
1477 dev_err(smu->adev->dev, "Invalid power profile mode %d\n", profile_mode); in arcturus_set_power_profile_mode()
1485 if ((profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) && in arcturus_set_power_profile_mode()
1539 profile_mode); in arcturus_set_power_profile_mode()
1541 dev_dbg(smu->adev->dev, "Unsupported power profile mode %d on arcturus\n", profile_mode); in arcturus_set_power_profile_mode()
1554 smu->power_profile_mode = profile_mode; in arcturus_set_power_profile_mode()
/openbsd/sys/dev/pci/drm/amd/pm/
H A Damdgpu_pm.c1425 long int profile_mode = 0; in amdgpu_set_pp_power_profile_mode() local
1435 ret = kstrtol(tmp, 0, &profile_mode); in amdgpu_set_pp_power_profile_mode()
1439 if (profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in amdgpu_set_pp_power_profile_mode()
1457 parameter[parameter_size] = profile_mode; in amdgpu_set_pp_power_profile_mode()