SWDEV-410230 - Added slot_type to amd-smi static --bus
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I2006a3525a8aa9091bf54501461d364f7237f00f
[ROCm/amdsmi commit: fadf1b6cc9]
This commit is contained in:
@@ -1150,6 +1150,16 @@ typedef struct {
|
||||
uint64_t reserved[2];
|
||||
} amdsmi_error_count_t;
|
||||
|
||||
/**
|
||||
* @brief This is a enum translation for pcie_slot_type
|
||||
*/
|
||||
typedef enum {
|
||||
AMDSMI_SLOT_TYPE__PCIE = 0,
|
||||
AMDSMI_SLOT_TYPE__CEM = 1,
|
||||
AMDSMI_SLOT_TYPE__OAM = 2,
|
||||
AMDSMI_SLOT_TYPE__RESERVED = 3,
|
||||
} amdsmi_pcie_slot_type_t;
|
||||
|
||||
/**
|
||||
* @brief This structure holds pcie info.
|
||||
*/
|
||||
@@ -1157,9 +1167,10 @@ 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_slot_type_t pcie_slot_type; // 0: PCIE, 1: CEM, 2: OAM, 3: Reserved
|
||||
uint32_t reserved[4];
|
||||
} amdsmi_pcie_info_t;
|
||||
|
||||
/**
|
||||
* @brief This structure contains information specific to a process.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user