diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-06-22 19:19:44 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:06 -0500 |
commit | 4b806879d582d41b20c17cc1739b537dbd41cb9a (patch) | |
tree | fa5ff220db168bc1dbaf6a26545fedaab3c35843 /drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |
parent | a22aa6d4d338f9d8fc126c4062c416b74785d728 (diff) |
gpu: nvgpu: gp10b: Add regops whitelists
Add regops whitelists for gp10b. The whitelist is generated, and is the
same for context switched and global registers.
Bug 1633363
Change-Id: I6d4d43d036d684c9f0d836a1a032f2c452604902
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/760935
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hal_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index d50ad791..9eba5571 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include "gp10b/gr_ctx_gp10b.h" | 30 | #include "gp10b/gr_ctx_gp10b.h" |
31 | #include "gp10b/fifo_gp10b.h" | 31 | #include "gp10b/fifo_gp10b.h" |
32 | #include "gp10b/gp10b_gating_reglist.h" | 32 | #include "gp10b/gp10b_gating_reglist.h" |
33 | #include "gp10b/regops_gp10b.h" | ||
33 | 34 | ||
34 | #include "gm20b/gr_gm20b.h" | 35 | #include "gm20b/gr_gm20b.h" |
35 | #include "gm20b/fifo_gm20b.h" | 36 | #include "gm20b/fifo_gm20b.h" |
@@ -101,6 +102,7 @@ int gp10b_init_hal(struct gk20a *g) | |||
101 | gp10b_init_mm(gops); | 102 | gp10b_init_mm(gops); |
102 | gp10b_init_pmu_ops(gops); | 103 | gp10b_init_pmu_ops(gops); |
103 | gk20a_init_debug_ops(gops); | 104 | gk20a_init_debug_ops(gops); |
105 | gp10b_init_regops(gops); | ||
104 | gops->name = "gp10b"; | 106 | gops->name = "gp10b"; |
105 | 107 | ||
106 | c->twod_class = FERMI_TWOD_A; | 108 | c->twod_class = FERMI_TWOD_A; |