<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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);">
Reviewed-by: Kevin Wang <kevin1.wang@amd.com></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best Regards,<br>
Kevin</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> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Evan Quan <evan.quan@amd.com><br>
<b>Sent:</b> Friday, August 16, 2019 2:08 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Quan, Evan <Evan.Quan@amd.com><br>
<b>Subject:</b> [PATCH 1/4] drm/amd/powerplay: update Arcturus smc fw and driver interface header</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Update smc fw and driver interface header.<br>
<br>
Change-Id: If4ac09c41b1309f746b757f78880fffb491d50f8<br>
Signed-off-by: Evan Quan <evan.quan@amd.com><br>
---<br>
.../powerplay/inc/smu11_driver_if_arcturus.h | 17 +++++++++++------<br>
drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h | 2 +-<br>
2 files changed, 12 insertions(+), 7 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_arcturus.h b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_arcturus.h<br>
index b99e98c40720..e02950b505fa 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_arcturus.h<br>
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_arcturus.h<br>
@@ -27,7 +27,7 @@<br>
// *** IMPORTANT ***<br>
// SMU TEAM: Always increment the interface version if<br>
// any structure is changed in this file<br>
-//#define SMU11_DRIVER_IF_VERSION 0x08<br>
+//#define SMU11_DRIVER_IF_VERSION 0x09<br>
<br>
#define PPTABLE_ARCTURUS_SMU_VERSION 4<br>
<br>
@@ -691,7 +691,12 @@ typedef struct {<br>
uint16_t XgmiFclkFreq [NUM_XGMI_PSTATE_LEVELS];<br>
uint16_t XgmiSocVoltage [NUM_XGMI_PSTATE_LEVELS];<br>
<br>
- uint32_t BoardReserved[10];<br>
+ // GPIO pins for I2C communications with 2nd controller for Input Telemetry Sequence<br>
+ uint8_t GpioI2cScl; // Serial Clock<br>
+ uint8_t GpioI2cSda; // Serial Data<br>
+ uint16_t GpioPadding;<br>
+<br>
+ uint32_t BoardReserved[9];<br>
<br>
// Padding for MMHUB - do not modify this<br>
uint32_t MmHubPadding[8]; // SMU internal use<br>
@@ -738,7 +743,7 @@ typedef struct {<br>
uint32_t Padding[4];<br>
<br>
// Padding - ignore<br>
- uint32_t MmHubPadding[7]; // SMU internal use<br>
+ uint32_t MmHubPadding[8]; // SMU internal use<br>
} SmuMetrics_t;<br>
<br>
<br>
@@ -748,7 +753,7 @@ typedef struct {<br>
float avgPsmVoltage[75];<br>
float minPsmVoltage[75];<br>
<br>
- uint32_t MmHubPadding[3]; // SMU internal use<br>
+ uint32_t MmHubPadding[8]; // SMU internal use<br>
} AvfsDebugTable_t;<br>
<br>
typedef struct {<br>
@@ -797,9 +802,9 @@ typedef struct {<br>
<br>
uint32_t P2VCharzFreq[AVFS_VOLTAGE_COUNT]; // in 10KHz units<br>
<br>
- uint32_t EnabledAvfsModules;<br>
+ uint32_t EnabledAvfsModules[2];<br>
<br>
- uint32_t MmHubPadding[7]; // SMU internal use<br>
+ uint32_t MmHubPadding[8]; // SMU internal use<br>
} AvfsFuseOverride_t;<br>
<br>
/* NOT CURRENTLY USED<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 5fbf082be091..0a22fa48ff5a 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>
@@ -27,7 +27,7 @@<br>
<br>
#define SMU11_DRIVER_IF_VERSION_INV 0xFFFFFFFF<br>
#define SMU11_DRIVER_IF_VERSION_VG20 0x13<br>
-#define SMU11_DRIVER_IF_VERSION_ARCT 0x08<br>
+#define SMU11_DRIVER_IF_VERSION_ARCT 0x09<br>
#define SMU11_DRIVER_IF_VERSION_NV10 0x33<br>
#define SMU11_DRIVER_IF_VERSION_NV12 0x33<br>
#define SMU11_DRIVER_IF_VERSION_NV14 0x33<br>
-- <br>
2.22.0<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></div>
</span></font></div>
</body>
</html>