Bug 43367 - radeon: NULL pointer dereference on switching to dynpm power method
Summary: radeon: NULL pointer dereference on switching to dynpm power method
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-12 12:59 UTC by Christoph Haag
Modified: 2012-07-01 09:44 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.5-rc2
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
console log of the bug (41.33 KB, text/plain)
2012-06-12 12:59 UTC, Christoph Haag
Details
possible fix (1.24 KB, patch)
2012-06-13 21:58 UTC, Alex Deucher
Details | Diff

Description Christoph Haag 2012-06-12 12:59:52 UTC
Created attachment 73570 [details]
console log of the bug

After changing to dynpm with
# echo dynpm > /sys/class/drm/card0/device/power_method
I immediately get the attached kernel Oops.

Power profiles work fine.
Comment 1 Alex Deucher 2012-06-13 21:58:48 UTC
Created attachment 73588 [details]
possible fix

This patch should fix it.
Comment 2 Christoph Haag 2012-06-14 19:45:24 UTC
The patch fixes it. Thank you. :)
Comment 3 Florian Mickler 2012-07-01 09:44:25 UTC
A patch referencing this bug report has been merged in Linux v3.5-rc4:

commit 0ec0612a80f957000999c3f7b31a84e3558c719d
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Thu Jun 14 15:54:57 2012 -0400

    drm/radeon: fix regression in dynpm due to multi-ring rework

Note You need to log in before you can comment on or make changes to this bug.