[PATCH] radeon/pm: Guard access to rdev->pm.power_state array

2014-01-08 Thread Michel Dänzer
From: Michel D?nzer It's never allocated on systems without an ATOMBIOS or COMBIOS ROM. Should fix an oops I encountered while resetting the GPU after a lockup on my PowerBook with an RV350. Signed-off-by: Michel D?nzer --- drivers/gpu/drm/radeon/radeon_pm.c | 6 -- 1 file changed, 4 inse

[PATCH] radeon/pm: Guard access to rdev->pm.power_state array

2014-01-08 Thread Alex Deucher
On Tue, Jan 7, 2014 at 9:40 PM, Michel D?nzer wrote: > From: Michel D?nzer > > It's never allocated on systems without an ATOMBIOS or COMBIOS ROM. > > Should fix an oops I encountered while resetting the GPU after a lockup > on my PowerBook with an RV350. > > Signed-off-by: Michel D?nzer Applie