summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-03-11 15:45:53 -0500
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:11 -0500
commitf2bb4f10ce7ff750d40a7ac881385d5902d7dbcd (patch)
tree4e5bc27f01cde0cf33395a9f32297857c90f3a42 /drivers/gpu/nvgpu/gp10b/regops_gp10b.c
parent57a75c3ba632a0300b932ce574ea3caab8275f4c (diff)
gpu: nvgpu: gp10b: Update regops whitelist
Update regops whitelist with two new registers. Bug 1734151 Change-Id: Id09bdfb1733620bb75d4558299c5e9c7f66bb00b Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1029772 GVS: Gerrit_Virtual_Submit Reviewed-by: Richard Zhao <rizhao@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/regops_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/regops_gp10b.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/regops_gp10b.c b/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
index 48f6161d..8934c324 100644
--- a/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/regops_gp10b.c
@@ -69,6 +69,7 @@ static const struct regop_offset_range gp10b_global_whitelist_ranges[] = {
69 { 0x00142480, 1}, 69 { 0x00142480, 1},
70 { 0x001424a0, 1}, 70 { 0x001424a0, 1},
71 { 0x00142550, 1}, 71 { 0x00142550, 1},
72 { 0x0017e028, 1},
72 { 0x0017e280, 1}, 73 { 0x0017e280, 1},
73 { 0x0017e294, 1}, 74 { 0x0017e294, 1},
74 { 0x0017e29c, 2}, 75 { 0x0017e29c, 2},
@@ -138,7 +139,7 @@ static const struct regop_offset_range gp10b_global_whitelist_ranges[] = {
138 { 0x001b4094, 3}, 139 { 0x001b4094, 3},
139 { 0x001b40a4, 1}, 140 { 0x001b40a4, 1},
140 { 0x001b4100, 6}, 141 { 0x001b4100, 6},
141 { 0x001b4124, 1}, 142 { 0x001b4124, 2},
142 { 0x001b8000, 1}, 143 { 0x001b8000, 1},
143 { 0x001b8008, 1}, 144 { 0x001b8008, 1},
144 { 0x001b8010, 3}, 145 { 0x001b8010, 3},
@@ -371,6 +372,7 @@ static const struct regop_offset_range gp10b_global_whitelist_ranges[] = {
371 { 0x00900100, 1}, 372 { 0x00900100, 1},
372 { 0x009a0100, 1}, 373 { 0x009a0100, 1},
373}; 374};
375
374static const u32 gp10b_global_whitelist_ranges_count = 376static const u32 gp10b_global_whitelist_ranges_count =
375 ARRAY_SIZE(gp10b_global_whitelist_ranges); 377 ARRAY_SIZE(gp10b_global_whitelist_ranges);
376 378