[PATCH 191/459] drm/amd/powerplay: update smu11_driver_if_navi10.h

Alex Deucher alexdeucher at gmail.com
Mon Jun 17 19:26:56 UTC 2019


From: Kenneth Feng <kenneth.feng at amd.com>

update the smu11_driver_if_navi10.h since navi10 smu fw
update to 42.15.0

Signed-off-by: Kenneth Feng <kenneth.feng at amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 .../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.20.1



More information about the amd-gfx mailing list