[Bug 205497] Attempt to read amd gpu id causes a freeze

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Nov 12 14:54:16 UTC 2019


https://bugzilla.kernel.org/show_bug.cgi?id=205497

Alex Deucher (alexdeucher at gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher at gmail.com

--- Comment #3 from Alex Deucher (alexdeucher at gmail.com) ---
Created attachment 285881
  --> https://bugzilla.kernel.org/attachment.cgi?id=285881&action=edit
possible fix

Assuming radeontop uses the info ioctl to query the registers, this patch
should fix it.  If it mmaps the register BAR directly, there's nothing you can
do.  Accessing registers while the gfx block is off will lead to garbage data
and possibly hang the chip.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list