Renamed API amdsmi_dev_get_pci_id to

amdsmi_get_gpu_pci_id

grep -rli 'amdsmi_dev_get_pci_id' * | xargs -i@ sed -i
's/amdsmi_dev_get_pci_id/amdsmi_get_gpu_pci_id/g' @

Change-Id: If5454038cf582bdf3c657f466d0f6eb1dd3c14e0
This commit is contained in:
Deepak Mewar
2023-02-25 07:32:09 -05:00
committed by Naveen Krishna Chatradhi
parent 928b7e2a4d
commit 55ddbdc67e
10 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -1303,7 +1303,7 @@ amdsmi_status_t amdsmi_get_processor_handle_from_bdf(amdsmi_bdf_t bdf, amdsmi_pr
* @p id. This ID is an identification of the type of device, so calling this
* function for different devices will give the same value if they are kind
* of device. Consequently, this function should not be used to distinguish
* one device from another. amdsmi_dev_get_pci_id() should be used to get a
* one device from another. amdsmi_get_gpu_pci_id() should be used to get a
* unique identifier.
*
* @param[in] processor_handle a device handle
@@ -1508,7 +1508,7 @@ amdsmi_get_gpu_pci_bandwidth(amdsmi_processor_handle processor_handle, amdsmi_pc
*
* @return ::amdsmi_status_t | ::AMDSMI_STATUS_SUCCESS on success, non-zero on fail
*/
amdsmi_status_t amdsmi_dev_get_pci_id(amdsmi_processor_handle processor_handle, uint64_t *bdfid);
amdsmi_status_t amdsmi_get_gpu_pci_id(amdsmi_processor_handle processor_handle, uint64_t *bdfid);
/**
* @brief Get the NUMA node associated with a device