]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: gcc fixes for si dpm
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Aug 2013 23:06:54 +0000 (19:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:31:21 +0000 (16:31 -0400)
commit6f6fd9a9f30cbdd7b09a2c125acc51696fc08567
tree527aa33f49860dbf8eb8ffb410e1eb25207c786d
parentce2063728234b8f5b56e09bf7c3f055369a5f6f7
drm/radeon: gcc fixes for si dpm

Newer versions of gcc seem to wander off into the
weeds when dealing with variable sizes arrays in
structs.  Rather than indexing the arrays, use
pointer arithmetic.

See bugs:
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/si_dpm.c