]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/radeon: fix possible segfault when parsing pm tables
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Apr 2013 13:29:17 +0000 (09:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 May 2013 20:48:13 +0000 (13:48 -0700)
commit3fe09e770fb1e5007af981a1eef4c3667e3e55f0
tree64a2ee649bde49021d26fc215af6512eb65a0bf7
parentd32b16ba1f140540700a732654f6c1a40d5ba753
drm/radeon: fix possible segfault when parsing pm tables

commit f8e6bfc2ce162855fa4f9822a45659f4b542c960 upstream.

If we have a empty power table, bail early and allocate
the default power state.

Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=63865

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_atombios.c