<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,Arial,Helvetica,sans-serif;">
<p>Hi Jeremy,</p>
<p><br>
</p>
<p>Nothing between the UVD PG patch and the tip of stg-4.7 seems to be that relevant to 480.</p>
<p><br>
</p>
<p>If 8f877a8 is stable best you can do is bisect (shouldn't take long) with cold boots in between.  I too run Fedora 24 + GNOME and have good performance with Carrizo, Stoney, FIJI and Tonga (with the 5dw patch reverted) on the tip of stg-4.7.  I have yet
 to test a polaris asic though...</p>
<p><br>
</p>
<p>Tom</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Jeremy Newton <alexjnewt@gmail.com><br>
<b>Sent:</b> Thursday, October 6, 2016 10:07<br>
<b>To:</b> StDenis, Tom<br>
<b>Cc:</b> amd-gfx@lists.freedesktop.org<br>
<b>Subject:</b> Re: Issue with amd-staging-4.7 on rx480</font>
<div> </div>
</div>
<div>
<div dir="ltr">I apologise if what I said was unclear. When I mean I reverted back to <span style="font-size:12.8px">8f877a8, I mean I did a hard reset to this commit, i.e. reverting all commits/changes after this one. Basically I reverted the following commits: e3bb40f, 32ba038, 6892173, 55a9ab5, 4760300, 8ee5196, 381c90a, 5ae6bd0, 9a846b4, 042f89f,
 and 78d1842. I just skimmed it last night, so I can't say for sure where the issue is, but I'm assuming it's one of the drm/amdgpu commits, i.e. excluding commits</span><span style="font-size:12.8px">9a846b4, 042f89f, and 78d1842</span><span style="font-size:12.8px">.</span>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">I have only tested based on a snapshot at </span><span style="font-size:12.8px">8f877a8 and another snapshot at </span><span style="font-size:12.8px">78d1842. The latter caused the issue, while the former seems fine. I just
 discovered this last night, but I'll do some builds tonight to bisect the issue if need be.</span><span style="font-size:12.8px"><br>
</span>
<div><span style="font-size:12.8px"><br>
</span></div>
<div>Commit 6691270 on the other hand doesn't appear cause my issues. And lastly, I rarely do warm boots on my machine, so all of my tests have been cold boots.</div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Jeremy</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Oct 6, 2016 at 9:41 AM, StDenis, Tom <span dir="ltr">
<<a href="mailto:Tom.StDenis@amd.com" target="_blank">Tom.StDenis@amd.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="m_-3510539901589408934divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>If I read this correctly you reverted the commit which enables UVD PG on Tonga?  I can't see how that impacts Polaris at all.  </p>
<p><br>
</p>
<p>If I had to guess it's a dGPU state issue.  I've had on occasion to resort to cold reboots to bisect the kernel because the GPU firmware can get into states that aren't 100% resolved by a warm reboot.</p>
<p><br>
</p>
<p>There is a known bad commit which was reverted by Christian which I guess isn't out on fdo yet.  <a href="https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-4.7&id=6691270952b6909218c520dcc71a342070c96874" class="m_-3510539901589408934OWAAutoLink" id="m_-3510539901589408934LPlnk533633" target="_blank">https://cgit.freedesktop.org/<wbr>~agd5f/linux/commit/?h=amd-<wbr>staging-4.7&id=<wbr>6691270952b6909218c520dcc71a34<wbr>2070c96874</a> that
 commit seems to break dGPU support.</p>
<p><br>
</p>
<p>Cheers,</p>
<p>Tom</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div id="m_-3510539901589408934divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> amd-gfx <<a href="mailto:amd-gfx-bounces@lists.freedesktop.org" target="_blank">amd-gfx-bounces@lists.<wbr>freedesktop.org</a>>
 on behalf of Jeremy Newton <<a href="mailto:alexjnewt@gmail.com" target="_blank">alexjnewt@gmail.com</a>><br>
<b>Sent:</b> Wednesday, October 5, 2016 22:54<br>
<b>To:</b> <a href="mailto:amd-gfx@lists.freedesktop.org" target="_blank">amd-gfx@lists.freedesktop.org</a><br>
<b>Subject:</b> Issue with amd-staging-4.7 on rx480</font>
<div> </div>
</div>
<div>
<div class="h5">
<div>
<div dir="ltr">
<div><span style="text-align:right">
<div style="text-align:start">Hello,</div>
<div style="text-align:start"><br>
</div>
<div style="text-align:start">I'm currently regularly building and using the amd-staging-4.7 linux branch, which can be found here:</div>
<div style="text-align:start"><br>
</div>
<div style="text-align:start"><a href="https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-4.7" id="m_-3510539901589408934LPlnk449083" target="_blank">https://cgit.freedesktop.org/~<wbr>agd5f/linux/log/?h=amd-<wbr>staging-4.7</a></div>
<div style="text-align:start"><br>
</div>
<div style="text-align:start">It seems that one of the commits pushed on 2016-10-03 broke something, and I just wanted to give the devs a heads up in case no one noticed. I'm guessing it was caused by one of the commits in the range of e3bb40f all the way up
 to 78d1842.</div>
<div style="text-align:start"><br>
</div>
<div style="text-align:start">I'm using an RX480, polaris10. The issue seems to have two symptoms:</div>
<div style="text-align:start">- Plymouth (the boot splash screen) seems to get visually corrupted or just blacked out.</div>
<div style="text-align:start">- After login, the screen just remains black until I hard reset.</div>
<div style="text-align:start"><br>
</div>
<div style="text-align:start">Reverting back to 8f877a8 seems to fix it. I'm using Fedora 24 with GNOME. As well, I haven't had time to bisect, but I can do so if desired.</div>
<div style="text-align:start"><br>
</div>
<div style="text-align:start">Thanks!</div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>