<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I swear this isn't intentional but I just realized that SDMA0 was loaded twice too only after hitting send-email. I've amended my patch locally to avoid loading SDMA0 twice too..</p>
<p><br>
</p>
<p>Tom</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Tom St Denis <tstdenis82@gmail.com><br>
<b>Sent:</b> Friday, August 26, 2016 12:46<br>
<b>To:</b> amd-gfx@lists.freedesktop.org<br>
<b>Cc:</b> StDenis, Tom<br>
<b>Subject:</b> [PATCH 3/3] drm/amd/powerplay: Only load MEC firmware once on Stoney</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Only load the MEC1 firmware once in the Carrizo SMU manager<br>
driver.<br>
<br>
Signed-off-by: Tom St Denis <tom.stdenis@amd.com><br>
---<br>
drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c | 5 +----<br>
1 file changed, 1 insertion(+), 4 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c<br>
index f51bd8de2f69..1529516089bc 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c<br>
@@ -574,10 +574,7 @@ static int cz_smu_construct_toc_for_bootup(struct pp_smumgr *smumgr)<br>
CZ_SCRATCH_ENTRY_UCODE_ID_CP_ME, false);<br>
cz_smu_populate_single_ucode_load_task(smumgr,<br>
CZ_SCRATCH_ENTRY_UCODE_ID_CP_MEC_JT1, false);<br>
- if (smumgr->chip_id == CHIP_STONEY)<br>
- cz_smu_populate_single_ucode_load_task(smumgr,<br>
- CZ_SCRATCH_ENTRY_UCODE_ID_CP_MEC_JT1, false);<br>
- else<br>
+ if (smumgr->chip_id != CHIP_STONEY)<br>
cz_smu_populate_single_ucode_load_task(smumgr,<br>
CZ_SCRATCH_ENTRY_UCODE_ID_CP_MEC_JT2, false);<br>
cz_smu_populate_single_ucode_load_task(smumgr,<br>
-- <br>
2.9.3<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>