<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Crashes / Resets From AMDGPU / Radeon VII"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110674#c109">Comment # 109</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Crashes / Resets From AMDGPU / Radeon VII"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110674">bug 110674</a>
from <span class="vcard"><a class="email" href="mailto:tom@r.je" title="Tom B <tom@r.je>"> <span class="fn">Tom B</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=145080" name="attach_145080" title="dmesg with amdgpu.dpm=2">attachment 145080</a> <a href="attachment.cgi?id=145080&action=edit" title="dmesg with amdgpu.dpm=2">[details]</a></span>
dmesg with amdgpu.dpm=2
<span class="quote">> Tom B., did you try booting with amdgpu.dpm=1 or amdgpu.dpm=2 (default is generally -1 for automatic)? Seems like one of those might enable the new experimental SW SMU v11 feature on Vega20 . . .</span >
Now that is interesting.dpm=-1 is the same as default, and default is 1,
enabled so dpm=1 is what we've been using all along. But dpm=2 and the patch
you linked to are interesting.
I tried it, it didn't help the crashing issue and I was stuck at 30w. As soon
as I started sddm the system froze. I've attached my dmesg from amdgpu.dpm=2
boot. It doesn't fix the issue but it does help answer a few questions I had:
1. The functions in vega20_ppt.c are used with this new patch so that answers
my question from earlier, that's what this file is for and why it contains
similar/identical functions.
2. It explains the difference I found in <a href="show_bug.cgi?id=110674#c97">comment 97</a>: This commit
<a href="https://github.com/torvalds/linux/commit/94ed6d0cfdb867be9bf05f03d682980bce5d0036">https://github.com/torvalds/linux/commit/94ed6d0cfdb867be9bf05f03d682980bce5d0036</a>
has the new else block for smu_display_configuration_change which we now know
is the software version of this function.
More importantly, though, knowing that enabling DPM causes the crash, this
tells us either:
A) The bug is present in both versions of the vega20 code: vega20_hwmgr.c and
vega20_ppt.c or..
B) The card reaches an invalid state before DPM is initialised and the card is
fine until it receives a DPM change.
Given that two different versions of the code produce the same result, my hunch
is that the problem is B. The card is not in a state where it's able to receive
power changes.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>