Renamed API amdsmi_dev_set_clk_freq

It is changed to amdsmi_set_clk_freq

grep -rli 'amdsmi_dev_set_clk_freq' * | xargs -i@ sed -i
's/amdsmi_dev_set_clk_freq/amdsmi_set_clk_freq/g' @

Change-Id: I4cb623791c4570d144b4bf88e9c5f2ee5943527e
This commit is contained in:
Suma Hegde
2023-02-26 21:01:44 -05:00
committed by Naveen Krishna Chatradhi
parent 40a1904ef9
commit b9b495e486
9 changed files with 20 additions and 20 deletions
+3 -3
View File
@@ -2544,7 +2544,7 @@ try:
except AmdSmiException as e:
print(e)
```
## amdsmi_dev_set_clk_freq
## amdsmi_set_clk_freq
Description: Control the set of allowed frequencies that can be used for the
specified clock
@@ -2558,7 +2558,7 @@ bits of this mask are relevant.
Output: None
Exceptions that can be thrown by ` amdsmi_dev_set_clk_freq` function:
Exceptions that can be thrown by ` amdsmi_set_clk_freq` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -2572,7 +2572,7 @@ try:
else:
for device in devices:
freq_bitmask = 0
amdsmi_dev_set_clk_freq(device, AmdSmiClkType.GFX, freq_bitmask)
amdsmi_set_clk_freq(device, AmdSmiClkType.GFX, freq_bitmask)
except AmdSmiException as e:
print(e)
```