mirror of https://gitee.com/openkylin/linux.git
drm/amd/powerplay: update vega20 driver if to fit latest SMU firmware
Optimization for the socket power calculation is introduced. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
93002849ff
commit
cd6e0c4ba1
|
@ -27,7 +27,7 @@
|
||||||
// *** IMPORTANT ***
|
// *** IMPORTANT ***
|
||||||
// SMU TEAM: Always increment the interface version if
|
// SMU TEAM: Always increment the interface version if
|
||||||
// any structure is changed in this file
|
// any structure is changed in this file
|
||||||
#define SMU11_DRIVER_IF_VERSION 0x12
|
#define SMU11_DRIVER_IF_VERSION 0x13
|
||||||
|
|
||||||
#define PPTABLE_V20_SMU_VERSION 3
|
#define PPTABLE_V20_SMU_VERSION 3
|
||||||
|
|
||||||
|
@ -615,6 +615,7 @@ typedef struct {
|
||||||
uint16_t UclkAverageLpfTau;
|
uint16_t UclkAverageLpfTau;
|
||||||
uint16_t GfxActivityLpfTau;
|
uint16_t GfxActivityLpfTau;
|
||||||
uint16_t UclkActivityLpfTau;
|
uint16_t UclkActivityLpfTau;
|
||||||
|
uint16_t SocketPowerLpfTau;
|
||||||
|
|
||||||
|
|
||||||
uint32_t MmHubPadding[8];
|
uint32_t MmHubPadding[8];
|
||||||
|
@ -665,7 +666,8 @@ typedef struct {
|
||||||
uint32_t ThrottlerStatus ;
|
uint32_t ThrottlerStatus ;
|
||||||
|
|
||||||
uint8_t LinkDpmLevel;
|
uint8_t LinkDpmLevel;
|
||||||
uint8_t Padding[3];
|
uint16_t AverageSocketPower;
|
||||||
|
uint8_t Padding;
|
||||||
|
|
||||||
|
|
||||||
uint32_t MmHubPadding[7];
|
uint32_t MmHubPadding[7];
|
||||||
|
|
Loading…
Reference in New Issue