diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 1d594d29..ab3d86be 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -468,16 +468,6 @@ int gk20a_init_gpu_characteristics(struct gk20a *g) | |||
468 | if (g->ops.clk.get_maxrate) | 468 | if (g->ops.clk.get_maxrate) |
469 | gpu->max_freq = g->ops.clk.get_maxrate(&g->clk); | 469 | gpu->max_freq = g->ops.clk.get_maxrate(&g->clk); |
470 | 470 | ||
471 | g->ops.gr.get_preemption_mode_flags(g, &g->gr.preemption_mode_rec); | ||
472 | gpu->graphics_preemption_mode_flags = | ||
473 | g->gr.preemption_mode_rec.graphics_preemption_mode_flags; | ||
474 | gpu->compute_preemption_mode_flags = | ||
475 | g->gr.preemption_mode_rec.compute_preemption_mode_flags; | ||
476 | gpu->default_graphics_preempt_mode = | ||
477 | g->gr.preemption_mode_rec.default_graphics_preempt_mode; | ||
478 | gpu->default_compute_preempt_mode = | ||
479 | g->gr.preemption_mode_rec.default_compute_preempt_mode; | ||
480 | |||
481 | gpu->local_video_memory_size = g->mm.vidmem.size; | 471 | gpu->local_video_memory_size = g->mm.vidmem.size; |
482 | 472 | ||
483 | gpu->pci_vendor_id = g->pci_vendor_id; | 473 | gpu->pci_vendor_id = g->pci_vendor_id; |