<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">
<p style="font-family:Arial;font-size:10pt;color:#008000;margin:15pt;" align="Left">
[Public]<br>
</p>
<br>
<div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">Series is:</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">Acked-by: Alex Deucher <alexander.deucher@amd.com><br>
</span></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> Quan, Evan <Evan.Quan@amd.com><br>
<b>Sent:</b> Thursday, December 15, 2022 1:16 AM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Deucher, Alexander <Alexander.Deucher@amd.com>; Quan, Evan <Evan.Quan@amd.com><br>
<b>Subject:</b> [PATCH 2/2] drm/amd/pm: bump SMU13.0.0 driver_if header to version 0x34</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">To fit the latest PMFW and suppress the warning emerged on driver loading.<br>
<br>
Signed-off-by: Evan Quan <evan.quan@amd.com><br>
Change-Id: Ia81ffdc8969a3b667454aa35c6d05d9de238ebcd<br>
---<br>
.../gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 2 +-<br>
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 1 +<br>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 2 ++<br>
3 files changed, 4 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h<br>
index b76f0f7e4299..d6b964cf73bd 100644<br>
--- a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h<br>
+++ b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h<br>
@@ -522,9 +522,9 @@ typedef enum {<br>
TEMP_HOTSPOT_M,<br>
TEMP_MEM,<br>
TEMP_VR_GFX,<br>
+ TEMP_VR_SOC,<br>
TEMP_VR_MEM0,<br>
TEMP_VR_MEM1,<br>
- TEMP_VR_SOC,<br>
TEMP_VR_U,<br>
TEMP_LIQUID0,<br>
TEMP_LIQUID1,<br>
diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h b/drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h<br>
index 8d4ab1da17e9..913d3a8d7e2f 100644<br>
--- a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h<br>
+++ b/drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h<br>
@@ -28,6 +28,7 @@<br>
#define SMU13_DRIVER_IF_VERSION_INV 0xFFFFFFFF<br>
#define SMU13_DRIVER_IF_VERSION_YELLOW_CARP 0x04<br>
#define SMU13_DRIVER_IF_VERSION_ALDE 0x08<br>
+#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_0 0x34<br>
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_4 0x07<br>
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_5 0x04<br>
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_10 0x32<br>
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c<br>
index 4db5f2630054..0ac9cac805f9 100644<br>
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c<br>
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c<br>
@@ -290,6 +290,8 @@ int smu_v13_0_check_fw_version(struct smu_context *smu)<br>
smu->smc_driver_if_version = SMU13_DRIVER_IF_VERSION_ALDE;<br>
break;<br>
case IP_VERSION(13, 0, 0):<br>
+ smu->smc_driver_if_version = SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_0;<br>
+ break;<br>
case IP_VERSION(13, 0, 10):<br>
smu->smc_driver_if_version = SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_10;<br>
break;<br>
-- <br>
2.34.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>