[Bug 91790] TONGA hang in amdgpu_ring_lock

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 28 05:31:34 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91790

--- Comment #2 from Mathias Tillman <master.homer at gmail.com> ---
Created attachment 117967
  --> https://bugs.freedesktop.org/attachment.cgi?id=117967&action=edit
dmesg with added debug output

I've done some more testing, turns out that it never reaches
amdgpu_ring_unlock_commit on certain cases, and that's what causes it to hang,
since the mutex never unlocks.
I added some debug output to the code, gfx/sdma0 is ring->name, 0/9 is
ring->idx and the address is the address of the ring struct.
As you can see in the log, it calls amdgpu_ring_lock on ring 9 with name sdma0,
and then afterwards it calls it again on ring 0 with name gfx, without calling
amdgpu_ring_unlock_commit.
I will add some more debug output in hopes of finding why exactly it's never
unlocked, and if it is fixable. I should mention that these random lockups do
not happen while using the proprietary catalyst driver, so it must be something
in the amdgpu driver.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150828/316ea93a/attachment.html>


More information about the dri-devel mailing list