<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [polaris11] - GPU Hang - ring gfx timeout"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108854#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [polaris11] - GPU Hang - ring gfx timeout"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108854">bug 108854</a>
from <span class="vcard"><a class="email" href="mailto:tseewald@gmail.com" title="Tom Seewald <tseewald@gmail.com>"> <span class="fn">Tom Seewald</span></a>
</span></b>
<pre>(In reply to Tom St Denis from <a href="show_bug.cgi?id=108854#c15">comment #15</a>)
<span class="quote">> If you can't reproduce on a newer version of mesa then it's "been fixed" :-)</span >
My (probably incorrect) understanding is roughly this:
+-------+-------+
1.) | Application |
+-------+-------+
|
| Possibly sending bad commands/calls to Mesa
|
v
+------+---------+
2.) | Mesa |
+------+---------+
|
| Passing on bad calls from the application
| or
| There is a bug in Mesa itself where it is sending bad calls/commands
to the kernel
v
+--------+--------+
3.) | Kernel/amdgpu |
+--------+--------+
|
| amdgpu puts the physical device in a bad state due to bad commands
from Mesa
v
+--------+--------+
4.) | GPU |
+--------+--------+
Given that mesa 18.3.3+ "fixes" the issue, it sounds like a specific case of
mesa sending garbage to the kernel (step 2 to 3) has been fixed.
But in general shouldn't the kernel driver (ideally) be able to handle mesa
passing malformed/bad commands rather than freezing the device (step 3 to 4)?
I understand not every case can be covered, and I also understand that GPU
resets need to be supported in user space for seamless recovery, but shouldn't
the driver "unstick" itself enough so the computer can be rebooted normally?
Thanks for your time and patience.</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>