]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/dpm/atom: restructure logic to work around a compiler bug
authorAndre Heider <a.heider@gmail.com>
Wed, 17 Jul 2013 18:02:23 +0000 (14:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jul 2013 18:52:49 +0000 (14:52 -0400)
commit640df34cec7aab1d1ce2e88494ab6c6592df20d8
tree18ec36d9e60ba283709cd5c758358127db13eb48
parent347ca3ed9d308c14617084b04cdc83d585b56568
drm/radeon/dpm/atom: restructure logic to work around a compiler bug

It seems gcc 4.8.1 generates bogus code for the old logic causing
part of the function to get skipped.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=66932
https://bugs.freedesktop.org/show_bug.cgi?id=66972
https://bugs.freedesktop.org/show_bug.cgi?id=66945

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_atombios.c