drm/amd/pm: Update aldebaran pmfw interface

Update aldebaran PMFW interfaces to version 0x6

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Lijo Lazar 2021-03-23 20:53:12 +08:00 committed by Alex Deucher
parent 437f3e0b6e
commit 9a8fe5557d
2 changed files with 10 additions and 3 deletions

View File

@ -435,8 +435,12 @@ typedef struct {
uint8_t GpioI2cSda; // Serial Data uint8_t GpioI2cSda; // Serial Data
uint16_t spare5; uint16_t spare5;
uint16_t XgmiMaxCurrent; // in Amps
int8_t XgmiOffset; // in Amps
uint8_t Padding_TelemetryXgmi;
//reserved //reserved
uint32_t reserved[16]; uint32_t reserved[15];
} PPTable_t; } PPTable_t;
@ -481,7 +485,10 @@ typedef struct {
uint16_t TemperatureAllHBM[4] ; uint16_t TemperatureAllHBM[4] ;
uint32_t GfxBusyAcc ; uint32_t GfxBusyAcc ;
uint32_t DramBusyAcc ; uint32_t DramBusyAcc ;
uint32_t Spare[4]; uint32_t EnergyAcc64bitLow ; //15.259uJ resolution
uint32_t EnergyAcc64bitHigh ;
uint32_t TimeStampLow ; //10ns resolution
uint32_t TimeStampHigh ;
// Padding - ignore // Padding - ignore
uint32_t MmHubPadding[8]; // SMU internal use uint32_t MmHubPadding[8]; // SMU internal use

View File

@ -26,7 +26,7 @@
#include "amdgpu_smu.h" #include "amdgpu_smu.h"
#define SMU13_DRIVER_IF_VERSION_INV 0xFFFFFFFF #define SMU13_DRIVER_IF_VERSION_INV 0xFFFFFFFF
#define SMU13_DRIVER_IF_VERSION_ALDE 0x5 #define SMU13_DRIVER_IF_VERSION_ALDE 0x6
/* MP Apertures */ /* MP Apertures */
#define MP0_Public 0x03800000 #define MP0_Public 0x03800000