Summary: | [KMS Evergreen bisected] Crash on modeset on HP dv6-3050eo laptop | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Antti Lahtinen <ahlaht> | ||||||||||||||
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> | ||||||||||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||||||||||
Severity: | critical | ||||||||||||||||
Priority: | medium | ||||||||||||||||
Version: | unspecified | ||||||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||||||
OS: | Linux (All) | ||||||||||||||||
Whiteboard: | |||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||
Attachments: |
|
Description
Antti Lahtinen
2011-02-02 13:44:04 UTC
Created attachment 42867 [details]
dmesg on latest kernel with my patch
Created attachment 42868 [details]
lspci -vvv
Please attach a copy of your vbios: (as root) (use lspci to get the bus id) cd /sys/bus/pci/devices/<pci bus id> echo 1 > rom cat rom > /tmp/vbios.rom echo 0 > rom Created attachment 42875 [details]
vbios
I see the problem, you have more power modes than space allocated to hold them. This patch should fix the issue: diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 49a6890..59750dc 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -815,7 +815,7 @@ struct radeon_pm { fixed20_12 mclk; fixed20_12 needed_bandwidth; /* XXX: use a define for num power modes */ - struct radeon_power_state power_state[8]; + struct radeon_power_state power_state[16]; /* number of valid power states */ int num_power_states; int current_power_state_index; I'll write up a better one to dynamically allocate space depending on the number of tables. (In reply to comment #4) > Created an attachment (id=42875) [details] > vbios This looks like the intel vbios unfortunately. Created attachment 42878 [details] [review] dynamically allocate power state space This patch should fix the issue. Created attachment 42879 [details]
Here is another vbios if still needed
Thank you! You were right. I tested both patches and they both seem to work. Even Xorg and OpenGL seem to work now. --> FIXED I've sent the patch to Dave for 2.6.38 and stable. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.