<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;font-style:normal;font-weight:normal;text-decoration:none;" align="Left">
[AMD Official Use Only - General]<br>
</p>
<br>
<div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Reviewed-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 Jay Cornwall <jay.cornwall@amd.com><br>
<b>Sent:</b> Wednesday, August 9, 2023 5:26 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Cornwall, Jay <Jay.Cornwall@amd.com>; Kasiviswanathan, Harish <Harish.Kasiviswanathan@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdkfd: Add missing tba_hi programming on aldebaran</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Previously asymptomatic because high 32 bits were zero.<br>
<br>
Fixes: 615222cfed20 ("drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole")<br>
Signed-off-by: Jay Cornwall <jay.cornwall@amd.com><br>
---<br>
 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c b/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c<br>
index 8fda16e6fee6..8ce6f5200905 100644<br>
--- a/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c<br>
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c<br>
@@ -121,6 +121,7 @@ static int pm_map_process_aldebaran(struct packet_manager *pm,<br>
         packet->sh_mem_bases = qpd->sh_mem_bases;<br>
         if (qpd->tba_addr) {<br>
                 packet->sq_shader_tba_lo = lower_32_bits(qpd->tba_addr >> 8);<br>
+               packet->sq_shader_tba_hi = upper_32_bits(qpd->tba_addr >> 8);<br>
                 packet->sq_shader_tma_lo = lower_32_bits(qpd->tma_addr >> 8);<br>
                 packet->sq_shader_tma_hi = upper_32_bits(qpd->tma_addr >> 8);<br>
         }<br>
-- <br>
2.25.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>