https://bugs.freedesktop.org/show_bug.cgi?id=46274
Bug #: 46274 Summary: Reading from /sys/kernel/debug/dri/0/radeon_ring_cp* cause null-pointer dereference Classification: Unclassified Product: DRI Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: thomas.lindroth@gmail.com
Using evergreen(cedar) hardware reading from /sys/kernel/debug/dri/0/radeon_ring_cp[12] cause null-pointer dereference with latest linus git(3.3-rc4).
https://bugs.freedesktop.org/show_bug.cgi?id=46274
--- Comment #1 from Michel Dänzer michel@daenzer.net 2012-02-20 09:24:58 PST --- Created attachment 57337 --> https://bugs.freedesktop.org/attachment.cgi?id=57337 Only create additional ring info files on Cayman or newer
This patch should not create the additional files at all for your card. I've only been able to compile-test it, does it work for you?
https://bugs.freedesktop.org/show_bug.cgi?id=46274
--- Comment #2 from Michel Dänzer michel@daenzer.net 2012-02-22 01:55:59 PST --- I've tested the fix and submitted it, should make it into 3.3 final.
https://bugs.freedesktop.org/show_bug.cgi?id=46274
--- Comment #3 from Florian Mickler florian@mickler.org 2012-02-27 14:29:59 PST --- A patch referencing this bug report has been merged in Linux v3.3-rc5:
commit f0d14daa6906070ca044b86f483fdde7d81f5294 Author: Michel Dänzer michel.daenzer@amd.com Date: Tue Feb 21 17:39:15 2012 +0100
drm/radeon: Only create additional ring debugfs files on Cayman or newer.
https://bugs.freedesktop.org/show_bug.cgi?id=46274
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Michel Dänzer michel@daenzer.net 2012-02-28 00:03:24 PST --- Resolving per comment #3.
dri-devel@lists.freedesktop.org