Get PCIe slot type

Add API to get the PCIe slot type.

Change-Id: If6894af53894c524d61c7586c59768541bbf0ac6


[ROCm/amdsmi commit: 9eccf20f0c]
This commit is contained in:
Bill(Shuzhou) Liu
2023-09-27 12:40:53 -05:00
committed by Maisam Arif
parent 4fceaa7c5c
commit 90c9c8de4e
5 changed files with 40 additions and 5 deletions
+1
View File
@@ -1157,6 +1157,7 @@ typedef struct {
uint16_t pcie_lanes;
uint32_t pcie_speed;
uint32_t pcie_interface_version;
uint32_t pcie_slot_type; // 0: PCIE, 1: CEM, 2: OAM, 3: Reserved
uint32_t reserved[5];
} amdsmi_pcie_info_t;
/**