<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;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Is it gfx off or stutter mode that causes the problem for you? Can you narrow it down?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Alex<br>
</p>
</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 Christian König <ckoenig.leichtzumerken@gmail.com><br>
<b>Sent:</b> Wednesday, October 24, 2018 8:59:10 AM<br>
<b>To:</b> Feng, Kenneth; amd-gfx@lists.freedesktop.org<br>
<b>Subject:</b> [PATCH] drm/amdgpu: revert "enable gfxoff in non-sriov and stutter mode by default"</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">This is still completely breaking my Raven system.<br>
<br>
This reverts commit cdf2f910fa969adca1b0e3ad2b487821233dc038.<br>
<br>
Signed-off-by: Christian König <christian.koenig@amd.com><br>
---<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 --<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++--<br>
2 files changed, 2 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c<br>
index d11489e8b388..926eeb09d4c8 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c<br>
@@ -1493,8 +1493,6 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev)<br>
}<br>
<br>
adev->powerplay.pp_feature = amdgpu_pp_feature_mask;<br>
- if (amdgpu_sriov_vf(adev))<br>
- adev->powerplay.pp_feature &= ~PP_GFXOFF_MASK;<br>
<br>
for (i = 0; i < adev->num_ip_blocks; i++) {<br>
if ((amdgpu_ip_block_mask & (1 << i)) == 0) {<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c<br>
index 27528eeb444c..3b7d511031c6 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c<br>
@@ -114,8 +114,8 @@ uint amdgpu_pg_mask = 0xffffffff;<br>
uint amdgpu_sdma_phase_quantum = 32;<br>
char *amdgpu_disable_cu = NULL;<br>
char *amdgpu_virtual_display = NULL;<br>
-/* OverDrive(bit 14) disabled by default*/<br>
-uint amdgpu_pp_feature_mask = 0xffffbfff;<br>
+/* OverDrive(bit 14),gfxoff(bit 15),stutter mode(bit 17) disabled by default*/<br>
+uint amdgpu_pp_feature_mask = 0xfffd3fff;<br>
int amdgpu_ngg = 0;<br>
int amdgpu_prim_buf_per_se = 0;<br>
int amdgpu_pos_buf_per_se = 0;<br>
-- <br>
2.17.1<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</div>
</span></font></div>
</body>
</html>