drm/amdgpu/vega10: static constify channel_number

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Dave Airlie 2017-09-28 06:51:21 +10:00 committed by Alex Deucher
parent 706e25f241
commit 30b58a248a
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
#define HBM_MEMORY_CHANNEL_WIDTH 128 #define HBM_MEMORY_CHANNEL_WIDTH 128
uint32_t channel_number[] = {1, 2, 0, 4, 0, 8, 0, 16, 2}; static const uint32_t channel_number[] = {1, 2, 0, 4, 0, 8, 0, 16, 2};
#define MEM_FREQ_LOW_LATENCY 25000 #define MEM_FREQ_LOW_LATENCY 25000
#define MEM_FREQ_HIGH_LATENCY 80000 #define MEM_FREQ_HIGH_LATENCY 80000