<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks Hawking!<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Zhang, Hawking <Hawking.Zhang@amd.com><br>
<b>Sent:</b> Thursday, August 8, 2019 14:44<br>
<b>To:</b> Yin, Tianci (Rico) <Tianci.Yin@amd.com>; amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Xiao, Jack <Jack.Xiao@amd.com>; Wang, Kevin(Yang) <Kevin1.Wang@amd.com>; Yin, Tianci (Rico) <Tianci.Yin@amd.com>; Quan, Evan <Evan.Quan@amd.com>; Yuan, Xiaojie <Xiaojie.Yuan@amd.com><br>
<b>Subject:</b> RE: [PATCH 2/2] drm/amd/powerplay: update smu11_driver_if_navi10.h</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Series is Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com><br>
<br>
Regards,<br>
Hawking<br>
-----Original Message-----<br>
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Tianci Yin<br>
Sent: 2019年8月8日 13:49<br>
To: amd-gfx@lists.freedesktop.org<br>
Cc: Xiao, Jack <Jack.Xiao@amd.com>; Wang, Kevin(Yang) <Kevin1.Wang@amd.com>; Yin, Tianci (Rico) <Tianci.Yin@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com>; Quan, Evan <Evan.Quan@amd.com>; Yuan, Xiaojie <Xiaojie.Yuan@amd.com><br>
Subject: [PATCH 2/2] drm/amd/powerplay: update smu11_driver_if_navi10.h<br>
<br>
From: tiancyin <tianci.yin@amd.com><br>
<br>
update the smu11_driver_if_navi10.h since navi14 smu fw update to 53.12<br>
<br>
Change-Id: If0f729ec87c98f24e1794f0847eac5ba23671e34<br>
Reviewed-by: Evan Quan <evan.quan@amd.com><br>
Signed-off-by: tiancyin <tianci.yin@amd.com><br>
---<br>
.../drm/amd/powerplay/inc/smu11_driver_if_navi10.h | 25 +++++++++++++++++-----<br>
drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h | 2 +-<br>
2 files changed, 21 insertions(+), 6 deletions(-)<br>
<br>
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<br>
index 6d9e79e..ac0120e 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h<br>
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h<br>
@@ -506,10 +506,11 @@ typedef struct {<br>
uint32_t Status;<br>
<br>
uint16_t DieTemperature;<br>
- uint16_t MemoryTemperature;<br>
+ uint16_t CurrentMemoryTemperature;<br>
<br>
- uint16_t SelectedCardPower;<br>
- uint16_t Reserved4; <br>
+ uint16_t MemoryTemperature;<br>
+ uint8_t MemoryHotspotPosition;<br>
+ uint8_t Reserved4;<br>
<br>
uint32_t BoardLevelEnergyAccumulator; } OutOfBandMonitor_t; @@ -801,7 +802,12 @@ typedef struct {<br>
// Mvdd Svi2 Div Ratio Setting<br>
uint32_t MvddRatio; // This is used for MVDD Vid workaround. It has 16 fractional bits (Q16.16)<br>
<br>
- uint32_t BoardReserved[9];<br>
+ uint8_t RenesesLoadLineEnabled;<br>
+ uint8_t GfxLoadlineResistance;<br>
+ uint8_t SocLoadlineResistance;<br>
+ uint8_t Padding8_Loadline;<br>
+<br>
+ uint32_t BoardReserved[8];<br>
<br>
// Padding for MMHUB - do not modify this<br>
uint32_t MmHubPadding[8]; // SMU internal use<br>
@@ -905,13 +911,22 @@ typedef struct {<br>
} Watermarks_t;<br>
<br>
typedef struct {<br>
+ uint16_t avgPsmCount[28];<br>
+ uint16_t minPsmCount[28];<br>
+ float avgPsmVoltage[28];<br>
+ float minPsmVoltage[28];<br>
+<br>
+ uint32_t MmHubPadding[32]; // SMU internal use<br>
+} AvfsDebugTable_t_NV14;<br>
+<br>
+typedef struct {<br>
uint16_t avgPsmCount[36];<br>
uint16_t minPsmCount[36];<br>
float avgPsmVoltage[36]; <br>
float minPsmVoltage[36];<br>
<br>
uint32_t MmHubPadding[8]; // SMU internal use<br>
-} AvfsDebugTable_t;<br>
+} AvfsDebugTable_t_NV10;<br>
<br>
typedef struct {<br>
uint8_t AvfsVersion;<br>
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h b/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h<br>
index 97605e9..ee8542d 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h<br>
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h<br>
@@ -28,7 +28,7 @@<br>
#define SMU11_DRIVER_IF_VERSION_INV 0xFFFFFFFF #define SMU11_DRIVER_IF_VERSION_VG20 0x13 #define SMU11_DRIVER_IF_VERSION_NV10 0x33 -#define SMU11_DRIVER_IF_VERSION_NV14 0x33<br>
+#define SMU11_DRIVER_IF_VERSION_NV14 0x34<br>
<br>
/* MP Apertures */<br>
#define MP0_Public 0x03800000<br>
--<br>
2.7.4<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</div>
</span></font></div>
</body>
</html>