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:
committed by
Naveen Krishna Chatradhi
parent
928b7e2a4d
commit
55ddbdc67e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user