Renamed API amdsmi_dev_get_drm_render_minor to

amdsmi_get_gpu_drm_render_minor

grep -rli 'amdsmi_dev_get_drm_render_minor' * | xargs -i@ sed -i
's/amdsmi_dev_get_drm_render_minor/amdsmi_get_gpu_drm_render_minor/g' @

Change-Id: Icf6a1ba28ee3ff7f1fa66bad5d600725aad0bfca
This commit is contained in:
Deepak Mewar
2023-02-25 07:13:41 -05:00
zatwierdzone przez Naveen Krishna Chatradhi
rodzic 82dbd07b2c
commit ac1b857f24
9 zmienionych plików z 19 dodań i 19 usunięć
+3 -3
Wyświetl plik
@@ -2958,7 +2958,7 @@ except AmdSmiException as e:
print(e)
```
## amdsmi_dev_get_drm_render_minor
## amdsmi_get_gpu_drm_render_minor
Description: Get the drm minor number associated with this device.
Input parameters:
@@ -2967,7 +2967,7 @@ Input parameters:
Output: drm minor number
Exceptions that can be thrown by `amdsmi_dev_get_drm_render_minor` function:
Exceptions that can be thrown by `amdsmi_get_gpu_drm_render_minor` function:
* `AmdSmiLibraryException`
* `AmdSmiRetryException`
* `AmdSmiParameterException`
@@ -2980,7 +2980,7 @@ try:
print("No GPUs on machine")
else:
for device in devices:
render_minor = amdsmi_dev_get_drm_render_minor(device)
render_minor = amdsmi_get_gpu_drm_render_minor(device)
print(render_minor)
except AmdSmiException as e:
print(e)