From eb0b49ea404c79d54088274d7213e88f8bbcde71 Mon Sep 17 00:00:00 2001 From: Kenneth Feng Date: Tue, 16 Apr 2019 16:33:43 +0800 Subject: [PATCH] drm/amd/powerplay: update smu11_driver_if_navi10.h update the smu11_driver_if_navi10.h since navi10 smu fw update to 42.15.0 Signed-off-by: Kenneth Feng Reviewed-by: Xiaojie Yuan Signed-off-by: Alex Deucher --- .../amd/powerplay/inc/smu11_driver_if_navi10.h | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h index 25b7c8c496f7..83ef0e26c051 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h +++ b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h @@ -4,7 +4,7 @@ // *** IMPORTANT *** // SMU TEAM: Always increment the interface version if // any structure is changed in this file -#define SMU11_DRIVER_IF_VERSION 0x2E +#define SMU11_DRIVER_IF_VERSION 0x2F #define PPTABLE_NV10_SMU_VERSION 8 @@ -689,8 +689,11 @@ typedef struct { // BTC Setting uint32_t BtcConfig; + uint16_t SsFmin[10]; // PPtable value to function similar to VFTFmin for SS Curve; Size is PPCLK_COUNT rounded to nearest multiple of 2 + uint16_t DcBtcGb[AVFS_VOLTAGE_COUNT]; + // SECTION: Board Reserved - uint32_t Reserved[14]; + uint32_t Reserved[8]; // SECTION: BOARD PARAMETERS // I2C Control @@ -1027,17 +1030,9 @@ typedef struct { //RLC Pace Table total number of levels #define RLC_PACE_TABLE_NUM_LEVELS 16 -#define RLC_PACE_RATIO_NUM_LEVELS 8 - -typedef struct { - uint8_t ByteRatioLow; - uint8_t FlopsRatioLow; - uint8_t ByteRatioHigh; - uint8_t FlopsRatioHigh; -} RlcPaceFlopsPerByte_t; typedef struct { - RlcPaceFlopsPerByte_t FlopsPerByteTable[RLC_PACE_RATIO_NUM_LEVELS]; + float FlopsPerByteTable[RLC_PACE_TABLE_NUM_LEVELS]; uint32_t MmHubPadding[8]; // SMU internal use } RlcPaceFlopsPerByteOverride_t; -- 2.30.2