summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-08-17 17:29:27 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-09-29 14:58:11 +0200
commit8e8ab427330294be69b98a722561cf1b9535d047 (patch)
treeb06a2211aabc29862537b4d23a5ed7898e70e8d8 /drivers
parentb5d6606fbe159f6c44878827911052960e8961a0 (diff)
gpu: nvgpu: fix gcc-6 compilation
drivers/gpu/nvgpu/gk20a/regops_gk20a.c:344:40: error: 'gk20a_runcontrol_whitelist_ranges' defined but not used [-Werror=unused-const-variable=] static const struct regop_offset_range gk20a_runcontrol_whitelist_ranges[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/nvgpu/gk20a/regops_gk20a.c:350:18: error: 'gk20a_runcontrol_whitelist_ranges_count' defined but not used [-Werror=unused-const-variable=] static const u32 gk20a_runcontrol_whitelist_ranges_count = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/nvgpu/gk20a/regops_gk20a.c:366:40: error: 'gk20a_qctl_whitelist_ranges' defined but not used [-Werror=unused-const-variable=] static const struct regop_offset_range gk20a_qctl_whitelist_ranges[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/nvgpu/gk20a/regops_gk20a.c:373:18: error: 'gk20a_qctl_whitelist_ranges_count' defined but not used [-Werror=unused-const-variable=] static const u32 gk20a_qctl_whitelist_ranges_count = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/regops_gk20a.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/regops_gk20a.c b/drivers/gpu/nvgpu/gk20a/regops_gk20a.c
index 231c32a52dd1..18a64e1fabef 100644
--- a/drivers/gpu/nvgpu/gk20a/regops_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/regops_gk20a.c
@@ -341,16 +341,6 @@ static const u32 gk20a_runcontrol_whitelist[] = {
static const u32 gk20a_runcontrol_whitelist_count =
ARRAY_SIZE(gk20a_runcontrol_whitelist);
-static const struct regop_offset_range gk20a_runcontrol_whitelist_ranges[] = {
- { 0x00419e10, 1 },
- { 0x0041c610, 1 },
- { 0x00501e10, 1 },
- { 0x00504610, 1 },
-};
-static const u32 gk20a_runcontrol_whitelist_ranges_count =
- ARRAY_SIZE(gk20a_runcontrol_whitelist_ranges);
-
-
/* quad ctl */
static const u32 gk20a_qctl_whitelist[] = {
0x00504670,
@@ -366,16 +356,6 @@ static const u32 gk20a_qctl_whitelist[] = {
static const u32 gk20a_qctl_whitelist_count =
ARRAY_SIZE(gk20a_qctl_whitelist);
-static const struct regop_offset_range gk20a_qctl_whitelist_ranges[] = {
- { 0x00504670, 1 },
- { 0x00504730, 4 },
-};
-static const u32 gk20a_qctl_whitelist_ranges_count =
- ARRAY_SIZE(gk20a_qctl_whitelist_ranges);
-
-
-
-
static bool validate_reg_ops(struct dbg_session_gk20a *dbg_s,
u32 *ctx_rd_count, u32 *ctx_wr_count,
struct nvhost_dbg_gpu_reg_op *ops,