diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-06-02 00:09:52 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:17 -0500 |
commit | 9454529abe0ac42d15df01e36898cd2c840de9c8 (patch) | |
tree | 6d965a08f74b72aa948edcb224a4f753d86f3b90 /drivers/gpu/nvgpu/gp106/hal_gp106.c | |
parent | c8569f1ebfcdd4546d3674458684c7e1315872a4 (diff) |
gpu: nvgpu: Add multiple engine and runlist support
This CL covers the following modification,
1) Added multiple engine_info support
2) Added multiple runlist_info support
3) Initial changes for ASYNC CE support
4) Added ASYNC CE interrupt support for
Pascal GPU series
5) Removed hard coded engine_id logic and
made generic way
6) Code cleanup for readability
JIRA DNVGPU-26
Change-Id: Ibf46a89a5308c82f01040ffa979c5014b3206f8e
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1156022
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 5c9e012d..1dd16139 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include "gp10b/mc_gp10b.h" | 24 | #include "gp10b/mc_gp10b.h" |
25 | #include "gp10b/ltc_gp10b.h" | 25 | #include "gp10b/ltc_gp10b.h" |
26 | #include "gp10b/mm_gp10b.h" | 26 | #include "gp10b/mm_gp10b.h" |
27 | #include "gp10b/ce2_gp10b.h" | 27 | #include "gp10b/ce_gp10b.h" |
28 | #include "gp10b/fb_gp10b.h" | 28 | #include "gp10b/fb_gp10b.h" |
29 | #include "gp10b/fifo_gp10b.h" | 29 | #include "gp10b/fifo_gp10b.h" |
30 | #include "gp10b/gp10b_gating_reglist.h" | 30 | #include "gp10b/gp10b_gating_reglist.h" |
@@ -149,6 +149,9 @@ static int gp106_get_litter_value(struct gk20a *g, | |||
149 | case GPU_LIT_ROP_SHARED_BASE: | 149 | case GPU_LIT_ROP_SHARED_BASE: |
150 | ret = proj_rop_shared_base_v(); | 150 | ret = proj_rop_shared_base_v(); |
151 | break; | 151 | break; |
152 | case GPU_LIT_HOST_NUM_ENGINES: | ||
153 | ret = proj_host_num_engines_v(); | ||
154 | break; | ||
152 | case GPU_LIT_HOST_NUM_PBDMA: | 155 | case GPU_LIT_HOST_NUM_PBDMA: |
153 | ret = proj_host_num_pbdma_v(); | 156 | ret = proj_host_num_pbdma_v(); |
154 | break; | 157 | break; |
@@ -189,7 +192,7 @@ int gp106_init_hal(struct gk20a *g) | |||
189 | gp10b_init_ltc(gops); | 192 | gp10b_init_ltc(gops); |
190 | gp10b_init_fb(gops); | 193 | gp10b_init_fb(gops); |
191 | gp10b_init_fifo(gops); | 194 | gp10b_init_fifo(gops); |
192 | gp10b_init_ce2(gops); | 195 | gp10b_init_ce(gops); |
193 | gp106_init_gr_ctx(gops); | 196 | gp106_init_gr_ctx(gops); |
194 | gp10b_init_mm(gops); | 197 | gp10b_init_mm(gops); |
195 | gp106_init_pmu_ops(gops); | 198 | gp106_init_pmu_ops(gops); |