From 73f909cd8bb15da8cbceff4f731e87f38da03b8b Mon Sep 17 00:00:00 2001 From: Joe Narlo Date: Wed, 30 Oct 2024 09:55:52 -0500 Subject: [PATCH] SWDEV-495316 [AMDSMI] In amdsmi.h, change typedef amdsmi_accelerator_partition_profile_t to match definition in Confluence Move memory_caps defintion and correct the number in reserved to match Confluence Signed-off-by: Joe Narlo Change-Id: Id94144f4b3d2d3d7b4d7327211ffc1957ffd0a93 [ROCm/amdsmi commit: 54462ab447d309e09639613196203a9f3b43084b] --- projects/amdsmi/include/amd_smi/amdsmi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/amdsmi/include/amd_smi/amdsmi.h b/projects/amdsmi/include/amd_smi/amdsmi.h index 21ef4b077e..fb4875632f 100644 --- a/projects/amdsmi/include/amd_smi/amdsmi.h +++ b/projects/amdsmi/include/amd_smi/amdsmi.h @@ -691,11 +691,11 @@ typedef union { typedef struct { amdsmi_accelerator_partition_type_t profile_type; // SPX, DPX, QPX, CPX and so on uint32_t num_partitions; // On MI300X, SPX: 1, DPX: 2, QPX: 4, CPX: 8, length of resources array - uint32_t profile_index; amdsmi_nps_caps_t memory_caps; // Possible memory partition capabilities + uint32_t profile_index; uint32_t num_resources; // length of index_of_resources_profile uint32_t resources[AMDSMI_MAX_ACCELERATOR_PARTITIONS][AMDSMI_MAX_CP_PROFILE_RESOURCES]; - uint64_t reserved[6]; + uint64_t reserved[13]; } amdsmi_accelerator_partition_profile_t; typedef enum {