https://bugs.freedesktop.org/show_bug.cgi?id=33851
--- Comment #5 from Alex Deucher agd5f@yahoo.com 2011-02-02 15:23:23 PST --- 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.