<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><span style="font-size: 12pt;">Should point out that under load the system isn't 100% stable just yet. </span><br>
</p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">One thing I noted is that it will powerdown/up between frames it seems (by reading the PGFSM_CONFIG register) which it shouldn't be doing in a static configuration.</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">I wonder if it's powering down at bad times while under load?</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Tom</span></p>
<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> Thursday, July 7, 2016 20:47<br>
<b>To:</b> amd-gfx@lists.freedesktop.org<br>
<b>Cc:</b> StDenis, Tom<br>
<b>Subject:</b> [PATCH 2/2] drm/amd/amdgpu: Add PG support for Carrizo UVD</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Signed-off-by: Tom St Denis <tom.stdenis@amd.com><br>
---<br>
drivers/gpu/drm/amd/amdgpu/vi.c | 6 +++++-<br>
1 file changed, 5 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c<br>
index 91d71e31d6db..d2421867014f 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/vi.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c<br>
@@ -1580,13 +1580,17 @@ static int vi_common_early_init(void *handle)<br>
AMD_CG_SUPPORT_SDMA_LS;<br>
/* rev0 hardware doesn't support PG */<br>
adev->pg_flags = 0;<br>
- if (adev->rev_id != 0x00)<br>
+ if (adev->rev_id != 0x00) {<br>
adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |<br>
AMD_PG_SUPPORT_GFX_SMG |<br>
AMD_PG_SUPPORT_GFX_DMG |<br>
AMD_PG_SUPPORT_CP |<br>
AMD_PG_SUPPORT_RLC_SMU_HS |<br>
AMD_PG_SUPPORT_GFX_PIPELINE;<br>
+ /* powerplay UVD PG doesn't work yet */<br>
+ if (!amdgpu_powerplay)<br>
+ adev->pg_flags |= AMD_PG_SUPPORT_UVD;<br>
+ }<br>
adev->external_rev_id = adev->rev_id + 0x1;<br>
break;<br>
case CHIP_STONEY:<br>
-- <br>
2.9.0<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>