commit | 9880f7c100bf225c585c997dc287d4da01e3503b | [log] [tgz] |
---|---|---|
author | Michel Dänzer <michel.daenzer@amd.com> | Wed Jan 08 11:40:20 2014 +0900 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:19:27 2020 +0200 |
tree | bac28535a29823ddba1c53b28c67e9381dcbef53 | |
parent | b6bf5a5d10a6c7cbd7e7a4237c8ef6a0605a0acc [diff] |
radeon/pm: Guard access to rdev->pm.power_state array commit 370169516e736edad3b3c5aa49858058f8b55195 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>