Commit 1c65e548 authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher

drm/amd/pm: update SMU 13.0.0 driver_if header

To align with 78.37.0 and later PMFWs.
Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 704d6bf6
...@@ -671,8 +671,8 @@ typedef struct { ...@@ -671,8 +671,8 @@ typedef struct {
uint16_t reserved[2]; uint16_t reserved[2];
//Frequency changes //Frequency changes
uint16_t GfxclkFmin; // MHz int16_t GfxclkFmin; // MHz
uint16_t GfxclkFmax; // MHz int16_t GfxclkFmax; // MHz
uint16_t UclkFmin; // MHz uint16_t UclkFmin; // MHz
uint16_t UclkFmax; // MHz uint16_t UclkFmax; // MHz
...@@ -683,15 +683,14 @@ typedef struct { ...@@ -683,15 +683,14 @@ typedef struct {
//Fan control //Fan control
uint8_t FanLinearPwmPoints[NUM_OD_FAN_MAX_POINTS]; uint8_t FanLinearPwmPoints[NUM_OD_FAN_MAX_POINTS];
uint8_t FanLinearTempPoints[NUM_OD_FAN_MAX_POINTS]; uint8_t FanLinearTempPoints[NUM_OD_FAN_MAX_POINTS];
uint16_t FanMaximumRpm;
uint16_t FanMinimumPwm; uint16_t FanMinimumPwm;
uint16_t FanAcousticLimitRpm; uint16_t AcousticTargetRpmThreshold;
uint16_t AcousticLimitRpmThreshold;
uint16_t FanTargetTemperature; // Degree Celcius uint16_t FanTargetTemperature; // Degree Celcius
uint8_t FanZeroRpmEnable; uint8_t FanZeroRpmEnable;
uint8_t FanZeroRpmStopTemp; uint8_t FanZeroRpmStopTemp;
uint8_t FanMode; uint8_t FanMode;
uint8_t Padding[1]; uint8_t MaxOpTemp;
uint32_t Spare[13]; uint32_t Spare[13];
uint32_t MmHubPadding[8]; // SMU internal use. Adding here instead of external as a workaround uint32_t MmHubPadding[8]; // SMU internal use. Adding here instead of external as a workaround
...@@ -719,15 +718,14 @@ typedef struct { ...@@ -719,15 +718,14 @@ typedef struct {
uint8_t FanLinearPwmPoints; uint8_t FanLinearPwmPoints;
uint8_t FanLinearTempPoints; uint8_t FanLinearTempPoints;
uint16_t FanMaximumRpm;
uint16_t FanMinimumPwm; uint16_t FanMinimumPwm;
uint16_t FanAcousticLimitRpm; uint16_t AcousticTargetRpmThreshold;
uint16_t AcousticLimitRpmThreshold;
uint16_t FanTargetTemperature; // Degree Celcius uint16_t FanTargetTemperature; // Degree Celcius
uint8_t FanZeroRpmEnable; uint8_t FanZeroRpmEnable;
uint8_t FanZeroRpmStopTemp; uint8_t FanZeroRpmStopTemp;
uint8_t FanMode; uint8_t FanMode;
uint8_t Padding[1]; uint8_t MaxOpTemp;
uint32_t Spare[13]; uint32_t Spare[13];
...@@ -997,7 +995,8 @@ typedef struct { ...@@ -997,7 +995,8 @@ typedef struct {
uint16_t SocketPowerLimitAcTau[PPT_THROTTLER_COUNT]; // Time constant of LPF in ms uint16_t SocketPowerLimitAcTau[PPT_THROTTLER_COUNT]; // Time constant of LPF in ms
uint16_t SocketPowerLimitDcTau[PPT_THROTTLER_COUNT]; // Time constant of LPF in ms uint16_t SocketPowerLimitDcTau[PPT_THROTTLER_COUNT]; // Time constant of LPF in ms
uint32_t SpareVmin[12]; QuadraticInt_t Vmin_droop;
uint32_t SpareVmin[9];
//SECTION: DPM Configuration 1 //SECTION: DPM Configuration 1
...@@ -1286,7 +1285,6 @@ typedef struct { ...@@ -1286,7 +1285,6 @@ typedef struct {
uint32_t PostVoltageSetBacoDelay; // in microseconds. Amount of time FW will wait after power good is established or PSI0 command is issued uint32_t PostVoltageSetBacoDelay; // in microseconds. Amount of time FW will wait after power good is established or PSI0 command is issued
uint32_t BacoEntryDelay; // in milliseconds. Amount of time FW will wait to trigger BACO entry after receiving entry notification from OS uint32_t BacoEntryDelay; // in milliseconds. Amount of time FW will wait to trigger BACO entry after receiving entry notification from OS
// SECTION: Board Reserved // SECTION: Board Reserved
uint32_t BoardSpare[64]; uint32_t BoardSpare[64];
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#define SMU13_DRIVER_IF_VERSION_ALDE 0x08 #define SMU13_DRIVER_IF_VERSION_ALDE 0x08
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_4 0x04 #define SMU13_DRIVER_IF_VERSION_SMU_V13_0_4 0x04
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_5 0x04 #define SMU13_DRIVER_IF_VERSION_SMU_V13_0_5 0x04
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0 0x27 #define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0 0x28
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_7 0x28 #define SMU13_DRIVER_IF_VERSION_SMU_V13_0_7 0x28
#define SMU13_MODE1_RESET_WAIT_TIME_IN_MS 500 //500ms #define SMU13_MODE1_RESET_WAIT_TIME_IN_MS 500 //500ms
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment