Export microcode version of sDMA

Change-Id: I86fa5da5e72af13a2e76e6e3be4667a7220923d5
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
This commit is contained in:
Philip Yang
2018-03-09 15:31:38 -05:00
rodzic 19dacdecd3
commit 1bf93d4e89
2 zmienionych plików z 18 dodań i 11 usunięć
+15 -3
Wyświetl plik
@@ -150,10 +150,10 @@ typedef struct _HsaSystemProperties
HSAuint32 PlatformRev; // HSA platform revision, reflects Platform Table Revision ID
} HsaSystemProperties;
typedef union
typedef union
{
HSAuint32 Value;
struct
struct
{
unsigned int uCode : 10; // ucode packet processor version
unsigned int Major : 6; // GFXIP Major engine version
@@ -162,6 +162,17 @@ typedef union
}ui32;
} HSA_ENGINE_ID;
typedef union
{
HSAuint32 Value;
struct
{
unsigned int uCodeSDMA: 10; // ucode version SDMA engine
unsigned int uCodeRes : 10; // ucode version (reserved)
unsigned int Reserved : 12; // Reserved, must be 0
};
} HSA_ENGINE_VERSION;
typedef union
{
HSAuint32 Value;
@@ -251,7 +262,8 @@ typedef struct _HsaNodeProperties
HSAuint16 MarketingName[HSA_PUBLIC_NAME_SIZE]; // Public name of the "device" on the node (board or APU name).
// Unicode string
HSAuint8 AMDName[HSA_PUBLIC_NAME_SIZE]; //CAL Name of the "device", ASCII
HSAuint8 Reserved[64];
HSA_ENGINE_VERSION uCodeEngineVersions;
HSAuint8 Reserved[60];
} HsaNodeProperties;