diff options
author | Debarshi Dutta <ddutta@nvidia.com> | 2017-11-23 00:10:30 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-05 06:45:24 -0400 |
commit | 077de38dfbc37ca933e0f3456397a44a49b1202e (patch) | |
tree | 46874687933f36b924f6ff3e537e4418b3b077f9 /drivers | |
parent | 89e0745fa024891b988508c3baa20c453230a80b (diff) |
gpu: nvgpu: add corresponding whitelists for per-context registers.
For gp10b, there is a single whitelist maintained for both global and
per-context registers, for gm20b, there are separate whitelists
maintained for global and per-context registers. This patch updates
the failing registers in the bug into the per-context list.
Bug 200363092
Change-Id: I1906ea46d4b37f9aa8d13833a5bba4a5f7c6bbe5
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1603660
(cherry picked from commit 1ec466151066eff40ca96ed41c8166602a7711ed)
Reviewed-on: https://git-master.nvidia.com/r/1688274
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/regops_gm20b.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/regops_gm20b.c b/drivers/gpu/nvgpu/gm20b/regops_gm20b.c index 79c980f4..aaa055b6 100644 --- a/drivers/gpu/nvgpu/gm20b/regops_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/regops_gm20b.c | |||
@@ -269,7 +269,12 @@ static const u32 gm20b_global_whitelist_ranges_count = | |||
269 | static const struct regop_offset_range gm20b_context_whitelist_ranges[] = { | 269 | static const struct regop_offset_range gm20b_context_whitelist_ranges[] = { |
270 | { 0x0000259c, 1 }, | 270 | { 0x0000259c, 1 }, |
271 | { 0x0000280c, 1 }, | 271 | { 0x0000280c, 1 }, |
272 | { 0x00140028, 1 }, | ||
273 | { 0x00180040, 52 }, | ||
274 | { 0x001a0040, 52 }, | ||
275 | { 0x001b0040, 52 }, | ||
272 | { 0x00400500, 1 }, | 276 | { 0x00400500, 1 }, |
277 | { 0x0040415c, 1 }, | ||
273 | { 0x00405b40, 1 }, | 278 | { 0x00405b40, 1 }, |
274 | { 0x00418e00, 1 }, | 279 | { 0x00418e00, 1 }, |
275 | { 0x00418e34, 1 }, | 280 | { 0x00418e34, 1 }, |
@@ -324,6 +329,7 @@ static const struct regop_offset_range gm20b_context_whitelist_ranges[] = { | |||
324 | { 0x00503ee8, 2 }, | 329 | { 0x00503ee8, 2 }, |
325 | { 0x00504490, 1 }, | 330 | { 0x00504490, 1 }, |
326 | { 0x00504508, 2 }, | 331 | { 0x00504508, 2 }, |
332 | { 0x00504600, 4 }, | ||
327 | { 0x00504604, 3 }, | 333 | { 0x00504604, 3 }, |
328 | { 0x00504614, 6 }, | 334 | { 0x00504614, 6 }, |
329 | { 0x00504634, 2 }, | 335 | { 0x00504634, 2 }, |