summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-05-19 18:27:05 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:16 -0500
commitb2b1c6d2be54dad286d2441e5f77aa3c9b67fdd6 (patch)
tree3c73cf5305841f4a611ac0401bbbc69366f56831 /drivers/gpu/nvgpu/gp10b/regops_gp10b.c
parentfed910d75fb810267700ef9af1068471f0ce6fb2 (diff)
gpu: nvgpu: Add HWPM registers to regops whitelist
Bug 1763653 Change-Id: Ief7ed56c29dba5836fc8435359a7c615ce53bb84 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1150717 Reviewed-by: Peter Daifuku <pdaifuku@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/regops_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/regops_gp10b.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/regops_gp10b.c b/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
index 8934c324..a494c9b8 100644
--- a/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * Tegra GK20A GPU Debugger Driver Register Ops 2 * Tegra GK20A GPU Debugger Driver Register Ops
3 * 3 *
4 * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -52,8 +52,10 @@ static const struct regop_offset_range gp10b_global_whitelist_ranges[] = {
52 { 0x0008e00c, 1}, 52 { 0x0008e00c, 1},
53 { 0x00100c18, 3}, 53 { 0x00100c18, 3},
54 { 0x00100c84, 1}, 54 { 0x00100c84, 1},
55 { 0x00104038, 1},
55 { 0x0010a0a8, 1}, 56 { 0x0010a0a8, 1},
56 { 0x0010a4f0, 1}, 57 { 0x0010a4f0, 1},
58 { 0x0010e490, 1},
57 { 0x0013cc14, 1}, 59 { 0x0013cc14, 1},
58 { 0x00140028, 1}, 60 { 0x00140028, 1},
59 { 0x00140280, 1}, 61 { 0x00140280, 1},
@@ -237,9 +239,11 @@ static const struct regop_offset_range gp10b_global_whitelist_ranges[] = {
237 { 0x0041a8a0, 3}, 239 { 0x0041a8a0, 3},
238 { 0x0041a8b0, 2}, 240 { 0x0041a8b0, 2},
239 { 0x0041b014, 1}, 241 { 0x0041b014, 1},
242 { 0x0041b0a0, 1},
240 { 0x0041b0cc, 1}, 243 { 0x0041b0cc, 1},
241 { 0x0041b1dc, 1}, 244 { 0x0041b1dc, 1},
242 { 0x0041be0c, 3}, 245 { 0x0041be0c, 3},
246 { 0x0041bea0, 1},
243 { 0x0041becc, 1}, 247 { 0x0041becc, 1},
244 { 0x0041bfdc, 1}, 248 { 0x0041bfdc, 1},
245 { 0x0041c054, 1}, 249 { 0x0041c054, 1},
@@ -326,9 +330,11 @@ static const struct regop_offset_range gp10b_global_whitelist_ranges[] = {
326 { 0x005028a0, 3}, 330 { 0x005028a0, 3},
327 { 0x005028b0, 2}, 331 { 0x005028b0, 2},
328 { 0x00503014, 1}, 332 { 0x00503014, 1},
333 { 0x005030a0, 1},
329 { 0x005030cc, 1}, 334 { 0x005030cc, 1},
330 { 0x005031dc, 1}, 335 { 0x005031dc, 1},
331 { 0x00503e14, 1}, 336 { 0x00503e14, 1},
337 { 0x00503ea0, 1},
332 { 0x00503ecc, 1}, 338 { 0x00503ecc, 1},
333 { 0x00503fdc, 1}, 339 { 0x00503fdc, 1},
334 { 0x00504054, 1}, 340 { 0x00504054, 1},