drm/amd/pm: bump SMU 13.0.4 driver_if header version

Align the SMU driver interface version with PMFW to
suppress the version mismatch message on driver loading.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.1.x
This commit is contained in:
Tim Huang 2023-03-01 10:53:03 +08:00 committed by Alex Deucher
parent b2ca5c5d41
commit ab9bdb1213
2 changed files with 3 additions and 3 deletions

View File

@ -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 PMFW_DRIVER_IF_VERSION 7 #define PMFW_DRIVER_IF_VERSION 8
typedef struct { typedef struct {
int32_t value; int32_t value;
@ -198,7 +198,7 @@ typedef struct {
uint16_t SkinTemp; uint16_t SkinTemp;
uint16_t DeviceState; uint16_t DeviceState;
uint16_t CurTemp; //[centi-Celsius] uint16_t CurTemp; //[centi-Celsius]
uint16_t spare2; uint16_t FilterAlphaValue;
uint16_t AverageGfxclkFrequency; uint16_t AverageGfxclkFrequency;
uint16_t AverageFclkFrequency; uint16_t AverageFclkFrequency;

View File

@ -29,7 +29,7 @@
#define SMU13_DRIVER_IF_VERSION_YELLOW_CARP 0x04 #define SMU13_DRIVER_IF_VERSION_YELLOW_CARP 0x04
#define SMU13_DRIVER_IF_VERSION_ALDE 0x08 #define SMU13_DRIVER_IF_VERSION_ALDE 0x08
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_0 0x37 #define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_0 0x37
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_4 0x07 #define SMU13_DRIVER_IF_VERSION_SMU_V13_0_4 0x08
#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_10 0x32 #define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_10 0x32
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_7 0x37 #define SMU13_DRIVER_IF_VERSION_SMU_V13_0_7 0x37