drm/amd: make some function-local tables static const
authorNils Wallménius <nils.wallmenius@gmail.com>
Sun, 10 Apr 2016 14:30:04 +0000 (16:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:20:20 +0000 (20:20 -0400)
commitaeba709a15ad66d3f8a2b38bada9f643ebe3dc04
tree3a1bb6bd816890f2282d65bd8cd3ff30aa02e2e9
parente90b62277b17207fa3854c4d8c3763d9974e7f47
drm/amd: make some function-local tables static const

These tables were initialized on stack on each call, avoid that
and save a little bit of text size.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Nils Wallménius <nils.wallmenius@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c
drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h