<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:-webkit-standard;
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<p style="font-family:Arial;font-size:11pt;color:#0078D7;margin:5pt;" align="Left">
[AMD Official Use Only - Internal Distribution Only]<br>
</p>
<br>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"-webkit-standard",serif;color:black">Fix performace drop while streaming Doom<br>
<br>
Signed-off-by: Li, Xin (Justin) <</span><a href="mailto:Xin2.Li@amd.com"><span style="font-family:"-webkit-standard",serif;color:#000064">Xin2.Li@amd.com</span></a><span style="font-family:"-webkit-standard",serif;color:black">><br>
Signed-off-by: Zhao, Jiange <</span><a href="mailto:Jiange.Zhao@amd.com"><span style="font-family:"-webkit-standard",serif;color:#000064">Jiange.Zhao@amd.com</span></a><span style="font-family:"-webkit-standard",serif;color:black">><br>
---<br>
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c | 14 ++++++++++++++<br>
1 file changed, 14 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c b/drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c<br>
index eab9768029c1..5287ac4e8364 100644<br>
--- a/drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c<br>
+++ b/drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c<br>
@@ -125,6 +125,20 @@ static int pp_hw_init(void *handle)<br>
<br>
ret = hwmgr_hw_init(hwmgr);<br>
<br>
+ if (adev->pdev->device == 0x6860 && adev->pdev->revision == 0x07) {<br>
+ long param[5];<br>
+<br>
+ param[0] = 5; // busy_set_point<br>
+ param[1] = 60; // FPS<br>
+ param[2] = 0; // use_rlc_busy<br>
+ param[3] = 3; // min_active_level<br>
+ param[4] = PP_SMC_POWER_PROFILE_CUSTOM;<br>
+<br>
+ mutex_lock(&hwmgr->smu_lock);<br>
+ ret = hwmgr->hwmgr_func->set_power_profile_mode(hwmgr, param, 4);<br>
+ mutex_unlock(&hwmgr->smu_lock);<br>
+ }<br>
+<br>
if (ret)<br>
pr_err("powerplay hw init failed\n");<br>
<br>
--<span class="apple-converted-space"> </span><br>
2.24.3 (Apple Git-128)</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>