<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 Aurabindo Pillai <aurabindo.pillai@amd.com><br>
<b>Sent:</b> Wednesday, June 29, 2022 12:45 PM<br>
<b>To:</b> alexdeucher@gmail.com <alexdeucher@gmail.com>; amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Pillai, Aurabindo <Aurabindo.Pillai@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com><br>
<b>Subject:</b> [PATCH] drm/amd: Load TA firmware for DCN321/DCN32</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">[Why&How]<br>
TA firmware is needed to enable HDCP.<br>
<br>
Changes in v2:<br>
<br>
Load separate firmware for PSP 13.0.0<br>
<br>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com><br>
---<br>
 drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 6 ++++++<br>
 1 file changed, 6 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c<br>
index 9e1ef81933ff..30386d34d0d6 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c<br>
@@ -39,7 +39,9 @@ MODULE_FIRMWARE("amdgpu/psp_13_0_5_ta.bin");<br>
 MODULE_FIRMWARE("amdgpu/psp_13_0_8_toc.bin");<br>
 MODULE_FIRMWARE("amdgpu/psp_13_0_8_ta.bin");<br>
 MODULE_FIRMWARE("amdgpu/psp_13_0_0_sos.bin");<br>
+MODULE_FIRMWARE("amdgpu/psp_13_0_0_ta.bin");<br>
 MODULE_FIRMWARE("amdgpu/psp_13_0_7_sos.bin");<br>
+MODULE_FIRMWARE("amdgpu/psp_13_0_7_ta.bin");<br>
 <br>
 /* For large FW files the time to complete can be very long */<br>
 #define USBC_PD_POLLING_LIMIT_S 240<br>
@@ -103,6 +105,10 @@ static int psp_v13_0_init_microcode(struct psp_context *psp)<br>
         case IP_VERSION(13, 0, 0):<br>
         case IP_VERSION(13, 0, 7):<br>
                 err = psp_init_sos_microcode(psp, chip_name);<br>
+               if (err)<br>
+                       return err;<br>
+               /* It's not necessary to load ras ta on Guest side */<br>
+               err = psp_init_ta_microcode(psp, chip_name);<br>
                 if (err)<br>
                         return err;<br>
                 break;<br>
-- <br>
2.36.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>