]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/radeonn: gcc fixes for rv7xx/eg/btc dpm
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Aug 2013 22:51:08 +0000 (18:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:31:18 +0000 (16:31 -0400)
commitbdcc031bc7c2d0f1986237c8cea6871cfebf0853
treee7bd2870523c45ce6aaaf48c0b4530f5c44fe7de
parentaa842d736e29439d6f1a1478cd7c780d972f7cc5
drm/radeonn: gcc fixes for rv7xx/eg/btc 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/rv770_dpm.c