diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-01-16 12:15:20 -0500 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:03 -0500 |
commit | eff1aa4d9212f76f24d362bc1f871bf82baa5d98 (patch) | |
tree | 44a218d9e293beee1077a8a0071fda27e724d1da /drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |
parent | 7b70eb224a008b5debd1a6220d7835d6ebef70a0 (diff) |
gpu: nvgpu: gp10b: Set correct PBDMA signature
GPFIFO class was set to Maxwell class number. Also implement the
PBDMA signature HAL.
Change-Id: Ieaebcda8af96d5779289b311c0c433e8b4349234
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/672921
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hal_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index 1a34688a..30b56a5c 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "gm20b/gr_gm20b.h" | 31 | #include "gm20b/gr_gm20b.h" |
32 | #include "gm20b/gm20b_gating_reglist.h" | 32 | #include "gm20b/gm20b_gating_reglist.h" |
33 | #include "gm20b/fifo_gm20b.h" | 33 | #include "gm20b/fifo_gm20b.h" |
34 | #include "gp10b/fifo_gp10b.h" | ||
34 | #include "gm20b/pmu_gm20b.h" | 35 | #include "gm20b/pmu_gm20b.h" |
35 | #include "gm20b/clk_gm20b.h" | 36 | #include "gm20b/clk_gm20b.h" |
36 | 37 | ||
@@ -93,7 +94,7 @@ int gp10b_init_hal(struct gk20a *g) | |||
93 | gp10b_init_gr(gops); | 94 | gp10b_init_gr(gops); |
94 | gp10b_init_ltc(gops); | 95 | gp10b_init_ltc(gops); |
95 | gp10b_init_fb(gops); | 96 | gp10b_init_fb(gops); |
96 | gm20b_init_fifo(gops); | 97 | gp10b_init_fifo(gops); |
97 | gp10b_init_gr_ctx(gops); | 98 | gp10b_init_gr_ctx(gops); |
98 | gp10b_init_mm(gops); | 99 | gp10b_init_mm(gops); |
99 | gp10b_init_pmu_ops(gops); | 100 | gp10b_init_pmu_ops(gops); |
@@ -104,7 +105,7 @@ int gp10b_init_hal(struct gk20a *g) | |||
104 | c->twod_class = FERMI_TWOD_A; | 105 | c->twod_class = FERMI_TWOD_A; |
105 | c->threed_class = PASCAL_A; | 106 | c->threed_class = PASCAL_A; |
106 | c->compute_class = PASCAL_COMPUTE_A; | 107 | c->compute_class = PASCAL_COMPUTE_A; |
107 | c->gpfifo_class = MAXWELL_CHANNEL_GPFIFO_A; | 108 | c->gpfifo_class = PASCAL_CHANNEL_GPFIFO_A; |
108 | c->inline_to_memory_class = KEPLER_INLINE_TO_MEMORY_B; | 109 | c->inline_to_memory_class = KEPLER_INLINE_TO_MEMORY_B; |
109 | c->dma_copy_class = MAXWELL_DMA_COPY_A; | 110 | c->dma_copy_class = MAXWELL_DMA_COPY_A; |
110 | 111 | ||