diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-06-15 00:53:43 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:17 -0500 |
commit | 39f3a8b89fbd7589bb911d64f894c0c7d56fb694 (patch) | |
tree | 7594ade644c6f0d25540f80562c4eb4ceadcae58 /drivers/gpu/nvgpu/gp106/hal_gp106.c | |
parent | a445c27d5bb2989f6865b5c267b22c9edbe6cc31 (diff) |
gpu: nvgpu: Add fifo conf support for gp10x
Added fifo configuration support for gp104 and
gp106. These GPU chips have more number of
channel fifo and runlist than gp10b.
Added get_num_fifos and
eng_runlist_base_size function pointer
to find out the actual value from HW headers.
JIRA DNVGPU-25
Change-Id: I2322a6354eaa2af2b2605f3e9eedebf9827c7dda
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1164653
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 1b22547d..f9cd2e07 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "gp10b/mm_gp10b.h" | 26 | #include "gp10b/mm_gp10b.h" |
27 | #include "gp10b/ce_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 "gp106/fifo_gp106.h" |
30 | #include "gp10b/gp10b_gating_reglist.h" | 30 | #include "gp10b/gp10b_gating_reglist.h" |
31 | #include "gp10b/regops_gp10b.h" | 31 | #include "gp10b/regops_gp10b.h" |
32 | #include "gp10b/cde_gp10b.h" | 32 | #include "gp10b/cde_gp10b.h" |
@@ -193,7 +193,7 @@ int gp106_init_hal(struct gk20a *g) | |||
193 | gp106_init_gr(gops); | 193 | gp106_init_gr(gops); |
194 | gp10b_init_ltc(gops); | 194 | gp10b_init_ltc(gops); |
195 | gp10b_init_fb(gops); | 195 | gp10b_init_fb(gops); |
196 | gp10b_init_fifo(gops); | 196 | gp106_init_fifo(gops); |
197 | gp10b_init_ce(gops); | 197 | gp10b_init_ce(gops); |
198 | gp106_init_gr_ctx(gops); | 198 | gp106_init_gr_ctx(gops); |
199 | gp106_init_mm(gops); | 199 | gp106_init_mm(gops); |