Get PCIe slot type
Add API to get the PCIe slot type.
Change-Id: If6894af53894c524d61c7586c59768541bbf0ac6
[ROCm/amdsmi commit: 9eccf20f0c]
This commit is contained in:
committed by
Maisam Arif
parent
4fceaa7c5c
commit
90c9c8de4e
@@ -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;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user