SWDEV-452739 - Add CEM slot type to amd-smi

Updated CHANGELOG.md and re-added spaces after bolded lines

Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ic728b3e9b083c62fe4c9791b8ede991f5dacc1ca


[ROCm/amdsmi commit: 51b3f8cccb]
This commit is contained in:
Maisam Arif
2024-03-27 00:45:53 -05:00
committed by Maisam Arif
parent 980da3b329
commit 144ddec250
5 changed files with 48 additions and 25 deletions
+5 -2
View File
@@ -2050,11 +2050,14 @@ amdsmi_status_t amdsmi_get_pcie_info(amdsmi_processor_handle processor_handle, a
processor_handle, &slot_type);
if (status == AMDSMI_STATUS_SUCCESS) {
switch (slot_type) {
case RSMI_PCIE_SLOT_PCIE:
info->pcie_static.slot_type = AMDSMI_CARD_FORM_FACTOR_PCIE;
break;
case RSMI_PCIE_SLOT_OAM:
info->pcie_static.slot_type = AMDSMI_CARD_FORM_FACTOR_OAM;
break;
case RSMI_PCIE_SLOT_PCIE:
info->pcie_static.slot_type = AMDSMI_CARD_FORM_FACTOR_PCIE;
case RSMI_PCIE_SLOT_CEM:
info->pcie_static.slot_type = AMDSMI_CARD_FORM_FACTOR_CEM;
break;
default:
info->pcie_static.slot_type = AMDSMI_CARD_FORM_FACTOR_UNKNOWN;