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/gp10b/hal_gp10b.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/gp10b/hal_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index a75d2604..b8fffab3 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include "gp10b/mc_gp10b.h" | 25 | #include "gp10b/mc_gp10b.h" |
26 | #include "gp10b/ltc_gp10b.h" | 26 | #include "gp10b/ltc_gp10b.h" |
27 | #include "gp10b/mm_gp10b.h" | 27 | #include "gp10b/mm_gp10b.h" |
28 | #include "gp10b/ce2_gp10b.h" | 28 | #include "gp10b/ce_gp10b.h" |
29 | #include "gp10b/fb_gp10b.h" | 29 | #include "gp10b/fb_gp10b.h" |
30 | #include "gp10b/pmu_gp10b.h" | 30 | #include "gp10b/pmu_gp10b.h" |
31 | #include "gp10b/gr_ctx_gp10b.h" | 31 | #include "gp10b/gr_ctx_gp10b.h" |
@@ -150,6 +150,9 @@ static int gp10b_get_litter_value(struct gk20a *g, | |||
150 | case GPU_LIT_ROP_SHARED_BASE: | 150 | case GPU_LIT_ROP_SHARED_BASE: |
151 | ret = proj_rop_shared_base_v(); | 151 | ret = proj_rop_shared_base_v(); |
152 | break; | 152 | break; |
153 | case GPU_LIT_HOST_NUM_ENGINES: | ||
154 | ret = proj_host_num_engines_v(); | ||
155 | break; | ||
153 | case GPU_LIT_HOST_NUM_PBDMA: | 156 | case GPU_LIT_HOST_NUM_PBDMA: |
154 | ret = proj_host_num_pbdma_v(); | 157 | ret = proj_host_num_pbdma_v(); |
155 | break; | 158 | break; |
@@ -219,7 +222,7 @@ int gp10b_init_hal(struct gk20a *g) | |||
219 | gp10b_init_ltc(gops); | 222 | gp10b_init_ltc(gops); |
220 | gp10b_init_fb(gops); | 223 | gp10b_init_fb(gops); |
221 | gp10b_init_fifo(gops); | 224 | gp10b_init_fifo(gops); |
222 | gp10b_init_ce2(gops); | 225 | gp10b_init_ce(gops); |
223 | gp10b_init_gr_ctx(gops); | 226 | gp10b_init_gr_ctx(gops); |
224 | gp10b_init_mm(gops); | 227 | gp10b_init_mm(gops); |
225 | gp10b_init_pmu_ops(gops); | 228 | gp10b_init_pmu_ops(gops); |