summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/polaris10_pwrvirus.h
diff options
context:
space:
mode:
authorNils Wallménius <nils.wallmenius@gmail.com>2016-04-25 21:31:34 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-05-04 20:30:34 -0400
commit909a0631b1e64428a98002ad1ea470fa83d95843 (patch)
treeef3021f8a78c3640ac9a7694f544ec30e995718f /drivers/gpu/drm/amd/powerplay/inc/polaris10_pwrvirus.h
parent58174c2787c8fe7f36b195fbacf4ac174341d889 (diff)
downloadop-kernel-dev-909a0631b1e64428a98002ad1ea470fa83d95843.zip
op-kernel-dev-909a0631b1e64428a98002ad1ea470fa83d95843.tar.gz
drm/amdgpu: Constify some tables
Some more tables with constant data were added with the polaris support v2: missed a few Signed-off-by: Nils Wallménius <nils.wallmenius@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/polaris10_pwrvirus.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/polaris10_pwrvirus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/polaris10_pwrvirus.h b/drivers/gpu/drm/amd/powerplay/inc/polaris10_pwrvirus.h
index 933103e..f497e7d 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/polaris10_pwrvirus.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/polaris10_pwrvirus.h
@@ -50,7 +50,7 @@ typedef struct PWR_Command_Table PWR_Command_Table;
#define PWR_VIRUS_TABLE_SIZE 10031
-static PWR_Command_Table pwr_virus_table[PWR_VIRUS_TABLE_SIZE] = {
+static const PWR_Command_Table pwr_virus_table[PWR_VIRUS_TABLE_SIZE] = {
{ PwrCmdWrite, 0x00000000, mmRLC_CNTL },
{ PwrCmdWrite, 0x00000002, mmRLC_SRM_CNTL },
{ PwrCmdWrite, 0x15000000, mmCP_ME_CNTL },
OpenPOWER on IntegriCloud