<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:#0000FF;margin:5pt;" align="Left">
[AMD Official Use Only - General]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Does this need an update for GC 10.3.7 as well?</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);">
Alex</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<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, Jesse(Jie) <Jesse.Zhang@amd.com><br>
<b>Sent:</b> Monday, June 6, 2022 11:20 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Deucher, Alexander <Alexander.Deucher@amd.com>; Limonciello, Mario <Mario.Limonciello@amd.com>; Chang, David <David.Chang@amd.com>; Kuehling, Felix <Felix.Kuehling@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdkfd: Add fw version for 10.3.6</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:DengXian}
@font-face
{font-family:Calibri}
@font-face
{}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
span.x_EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<p class="x_msipheaderdf3d92d6" align="Left" style="margin:0"><span style="font-size:10.0pt; font-family:Arial; color:#0000FF">[AMD Official Use Only - General]</span></p>
<br>
<div class="x_WordSection1">
<p class="x_MsoNormal">It will happed error on loading firmware. we need add firmware version information.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">[ 309.650118] [drm] kiq ring mec 2 pipe 1 q 0</p>
<p class="x_MsoNormal">[ 309.652595] [drm] VCN decode and encode initialized successfully(under DPG Mode).</p>
<p class="x_MsoNormal">[ 309.653402] kfd kfd: amdgpu: skipped device 1002:164e, PCI rejects atomics 18<92</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Signed-off-by: Jesse Zhang <a href="mailto:Jesse.Zhang@amd.com">
Jesse.Zhang@amd.com</a></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> Reviewed-by: Alex Deucher <a href="mailto:alexander.deucher@amd.com">
alexander.deucher@amd.com</a></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> Reviewed-by: Mario Limonciello <a href="mailto:mario.limonciello@amd.com">
mario.limonciello@amd.com</a></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> Reviewed-by: Felix Kuehling <a href="mailto:Felix.Kuehling@amd.com">
Felix.Kuehling@amd.com</a></p>
<p class="x_MsoNormal"> Change-Id: I9c8d70071efdfce85c860ebf19690d52fb8d2383</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c</p>
<p class="x_MsoNormal">index f8635e768513..bf4200457772 100644</p>
<p class="x_MsoNormal">--- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c</p>
<p class="x_MsoNormal">+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c</p>
<p class="x_MsoNormal">@@ -182,7 +182,9 @@ static void kfd_device_info_init(struct kfd_dev *kfd,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> if (gc_version < IP_VERSION(11, 0, 0)) {</p>
<p class="x_MsoNormal"> /* Navi2x+, Navi1x+ */</p>
<p class="x_MsoNormal">- if (gc_version >= IP_VERSION(10, 3, 0))</p>
<p class="x_MsoNormal">+ if (gc_version == IP_VERSION(10, 3, 6))</p>
<p class="x_MsoNormal">+ kfd->device_info.no_atomic_fw_version = 14;</p>
<p class="x_MsoNormal">+ else if (gc_version >= IP_VERSION(10, 3, 0))</p>
<p class="x_MsoNormal"> kfd->device_info.no_atomic_fw_version = 92;</p>
<p class="x_MsoNormal"> else if (gc_version >= IP_VERSION(10, 1, 1))</p>
<p class="x_MsoNormal"> kfd->device_info.no_atomic_fw_version = 145;</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
</div>
</div>
</div>
</body>
</html>