Renamed API amdsmi_dev_set_od_clk_info

to amdsmi_set_gpu_od_clk_info

grep -rli 'amdsmi_dev_set_od_clk_info' * | xargs -i@ sed -i
's/amdsmi_dev_set_od_clk_info/amdsmi_set_gpu_od_clk_info/g' @

Change-Id: I0f1fd5a80322a544f7d25e09146c9e52b82091f6
This commit is contained in:
Deepak Mewar authored and Naveen Krishna Chatradhi committed 2023-05-11 10:59:25 -04:00
1 parent 2bd94db02c
commit a72e1ec91d
8 files changed
+15 -15

No files matched your search

+2 -2
View File
@@ -1950,7 +1950,7 @@ def amdsmi_get_gpu_memory_total(processor_handle: amdsmi_wrapper.amdsmi_processo
return total.value
def amdsmi_dev_set_od_clk_info(
def amdsmi_set_gpu_od_clk_info(
processor_handle: amdsmi_wrapper.amdsmi_processor_handle,
level: AmdSmiFreqInd,
value: int,
@@ -1971,7 +1971,7 @@ def amdsmi_dev_set_od_clk_info(
raise AmdSmiParameterException(clk_type, AmdSmiClkType)
_check_res(
amdsmi_wrapper. amdsmi_dev_set_od_clk_info(
amdsmi_wrapper. amdsmi_set_gpu_od_clk_info(
processor_handle, level, ctypes.c_uint64(value), clk_type
)
)