From: Kenneth Feng Date: Tue, 16 Apr 2019 08:33:43 +0000 (+0800) Subject: drm/amd/powerplay: update smu11_driver_if_navi10.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eb0b49ea404c79d54088274d7213e88f8bbcde71;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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;