commit | 370169516e736edad3b3c5aa49858058f8b55195 | [log] [tgz] |
---|---|---|
author | Michel Dänzer <michel.daenzer@amd.com> | Wed Jan 08 11:40:20 2014 +0900 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Jan 08 11:34:26 2014 -0500 |
tree | 5f8d37354fa439bdac2f100e9ae1a61c3f4a5411 | |
parent | 0091fc13c737e1c72fea1cea96b312d3ff86a321 [diff] |
radeon/pm: Guard access to rdev->pm.power_state array 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 <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org