Renamed API amdsmi_dev_get_power_profile_presets

to amdsmi_get_gpu_power_profile_presets

grep -rli 'amdsmi_dev_get_power_profile_presets' * | xargs -i@ sed -i
's/amdsmi_dev_get_power_profile_presets/amdsmi_get_gpu_power_profile_presets/g' @

Change-Id: Iff3d22517a4c5ece5efe4738618f74946cf600bd
Этот коммит содержится в:
Deepak Mewar authored and Naveen Krishna Chatradhi committed 2023-05-11 10:49:30 -04:00
1 родитель f95a63f216
Коммит 64e8d81af4
9 files changed
+28 -28

No files matched your search

+3 -3
Просмотреть файл
@@ -693,7 +693,7 @@ typedef enum {
/**
* @brief Pre-set Profile Selections. These bitmasks can be AND'd with the
* ::amdsmi_power_profile_status_t.available_profiles returned from
* :: amdsmi_dev_get_power_profile_presets to determine which power profiles
* :: amdsmi_get_gpu_power_profile_presets to determine which power profiles
* are supported by the system.
*/
typedef enum {
@@ -1713,7 +1713,7 @@ amdsmi_status_t
* @details This function will attempt to set the current profile to the provided
* profile, given a processor handle @p processor_handle and a @p profile. The provided
* profile must be one of the currently supported profiles, as indicated by a
* call to :: amdsmi_dev_get_power_profile_presets()
* call to :: amdsmi_get_gpu_power_profile_presets()
*
* @param[in] processor_handle a processor handle
*
@@ -2431,7 +2431,7 @@ amdsmi_status_t amdsmi_dev_get_od_volt_curve_regions(amdsmi_processor_handle pr
* @return ::amdsmi_status_t | ::AMDSMI_STATUS_SUCCESS on success, non-zero on fail
*/
amdsmi_status_t
amdsmi_dev_get_power_profile_presets(amdsmi_processor_handle processor_handle, uint32_t sensor_ind,
amdsmi_get_gpu_power_profile_presets(amdsmi_processor_handle processor_handle, uint32_t sensor_ind,
amdsmi_power_profile_status_t *status);
/** @} End PerfQuer */