diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hal_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hal_gm20b.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c index a540de64..7861e438 100644 --- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include "gk20a/gk20a.h" | 16 | #include "gk20a/gk20a.h" |
17 | #include "gk20a/ce2_gk20a.h" | 17 | #include "gk20a/ce2_gk20a.h" |
18 | #include "gk20a/dbg_gpu_gk20a.h" | 18 | #include "gk20a/dbg_gpu_gk20a.h" |
19 | #include "gk20a/fb_gk20a.h" | ||
20 | #include "gk20a/fifo_gk20a.h" | 19 | #include "gk20a/fifo_gk20a.h" |
21 | #include "gk20a/therm_gk20a.h" | 20 | #include "gk20a/therm_gk20a.h" |
22 | #include "gk20a/css_gr_gk20a.h" | 21 | #include "gk20a/css_gr_gk20a.h" |
@@ -162,21 +161,6 @@ static const struct gpu_ops gm20b_ops = { | |||
162 | .isr_stall = gk20a_ce2_isr, | 161 | .isr_stall = gk20a_ce2_isr, |
163 | .isr_nonstall = gk20a_ce2_nonstall_isr, | 162 | .isr_nonstall = gk20a_ce2_nonstall_isr, |
164 | }, | 163 | }, |
165 | .fb = { | ||
166 | .reset = fb_gk20a_reset, | ||
167 | .init_hw = gk20a_fb_init_hw, | ||
168 | .init_fs_state = fb_gm20b_init_fs_state, | ||
169 | .set_mmu_page_size = gm20b_fb_set_mmu_page_size, | ||
170 | .set_use_full_comp_tag_line = | ||
171 | gm20b_fb_set_use_full_comp_tag_line, | ||
172 | .compression_page_size = gm20b_fb_compression_page_size, | ||
173 | .compressible_page_size = gm20b_fb_compressible_page_size, | ||
174 | .vpr_info_fetch = gm20b_fb_vpr_info_fetch, | ||
175 | .dump_vpr_wpr_info = gm20b_fb_dump_vpr_wpr_info, | ||
176 | .is_debug_mode_enabled = gm20b_fb_debug_mode_enabled, | ||
177 | .set_debug_mode = gm20b_fb_set_debug_mode, | ||
178 | .tlb_invalidate = gk20a_fb_tlb_invalidate, | ||
179 | }, | ||
180 | .clock_gating = { | 164 | .clock_gating = { |
181 | .slcg_bus_load_gating_prod = | 165 | .slcg_bus_load_gating_prod = |
182 | gm20b_slcg_bus_load_gating_prod, | 166 | gm20b_slcg_bus_load_gating_prod, |
@@ -394,7 +378,6 @@ int gm20b_init_hal(struct gk20a *g) | |||
394 | 378 | ||
395 | gops->ltc = gm20b_ops.ltc; | 379 | gops->ltc = gm20b_ops.ltc; |
396 | gops->ce2 = gm20b_ops.ce2; | 380 | gops->ce2 = gm20b_ops.ce2; |
397 | gops->fb = gm20b_ops.fb; | ||
398 | gops->clock_gating = gm20b_ops.clock_gating; | 381 | gops->clock_gating = gm20b_ops.clock_gating; |
399 | gops->fifo = gm20b_ops.fifo; | 382 | gops->fifo = gm20b_ops.fifo; |
400 | gops->gr_ctx = gm20b_ops.gr_ctx; | 383 | gops->gr_ctx = gm20b_ops.gr_ctx; |
@@ -462,12 +445,10 @@ int gm20b_init_hal(struct gk20a *g) | |||
462 | #endif | 445 | #endif |
463 | g->bootstrap_owner = LSF_BOOTSTRAP_OWNER_DEFAULT; | 446 | g->bootstrap_owner = LSF_BOOTSTRAP_OWNER_DEFAULT; |
464 | gm20b_init_gr(g); | 447 | gm20b_init_gr(g); |
448 | gm20b_init_fb(gops); | ||
465 | gm20b_init_mm(gops); | 449 | gm20b_init_mm(gops); |
466 | gm20b_init_pmu_ops(g); | 450 | gm20b_init_pmu_ops(g); |
467 | 451 | ||
468 | gm20b_init_uncompressed_kind_map(); | ||
469 | gm20b_init_kind_attr(); | ||
470 | |||
471 | g->name = "gm20b"; | 452 | g->name = "gm20b"; |
472 | 453 | ||
473 | c->twod_class = FERMI_TWOD_A; | 454 | c->twod_class = FERMI_TWOD_A; |