<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 style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Acked-by: Alex Deucher <alexander.deucher@amd.com><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> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of chen gong <curry.gong@amd.com><br>
<b>Sent:</b> Thursday, December 2, 2021 3:56 AM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Sider, Graham <Graham.Sider@amd.com>; Gong, Curry <Curry.Gong@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdkfd: Correct the value of the no_atomic_fw_version variable</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">145:<br>
navi10            IP_VERSION(10, 1, 10)<br>
navi12            IP_VERSION(10, 1, 2)<br>
navi14            IP_VERSION(10, 1, 1)<br>
<br>
92:<br>
sienna_cichlid    IP_VERSION(10, 3, 0)<br>
navy_flounder     IP_VERSION(10, 3, 2)<br>
vangogh           IP_VERSION(10, 3, 1)<br>
dimgrey_cavefish  IP_VERSION(10, 3, 4)<br>
beige_goby        IP_VERSION(10, 3, 5)<br>
yellow_carp       IP_VERSION(10, 3, 3)<br>
<br>
Signed-off-by: chen gong <curry.gong@amd.com><br>
---<br>
 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 ++--<br>
 1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c<br>
index e6fded7..267668b 100644<br>
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c<br>
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c<br>
@@ -94,9 +94,9 @@ static void kfd_device_info_init(struct kfd_dev *kfd,<br>
                 if (gc_version < IP_VERSION(11, 0, 0)) {<br>
                         /* Navi2x+, Navi1x+ */<br>
                         if (gc_version >= IP_VERSION(10, 3, 0))<br>
-                               kfd->device_info.no_atomic_fw_version = 145;<br>
-                       else if (gc_version >= IP_VERSION(10, 1, 1))<br>
                                 kfd->device_info.no_atomic_fw_version = 92;<br>
+                       else if (gc_version >= IP_VERSION(10, 1, 1))<br>
+                               kfd->device_info.no_atomic_fw_version = 145;<br>
 <br>
                         /* Navi1x+ */<br>
                         if (gc_version >= IP_VERSION(10, 1, 1))<br>
-- <br>
2.7.4<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>