summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 2d7266ce..1d594d29 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -397,6 +397,7 @@ int gk20a_init_gpu_characteristics(struct gk20a *g)
397 397
398 __nvgpu_set_enabled(g, NVGPU_SUPPORT_PARTIAL_MAPPINGS, true); 398 __nvgpu_set_enabled(g, NVGPU_SUPPORT_PARTIAL_MAPPINGS, true);
399 __nvgpu_set_enabled(g, NVGPU_SUPPORT_MAP_DIRECT_KIND_CTRL, true); 399 __nvgpu_set_enabled(g, NVGPU_SUPPORT_MAP_DIRECT_KIND_CTRL, true);
400 __nvgpu_set_enabled(g, NVGPU_SUPPORT_MAP_BUFFER_BATCH, true);
400 401
401 if (IS_ENABLED(CONFIG_SYNC)) 402 if (IS_ENABLED(CONFIG_SYNC))
402 __nvgpu_set_enabled(g, NVGPU_SUPPORT_SYNC_FENCE_FDS, true); 403 __nvgpu_set_enabled(g, NVGPU_SUPPORT_SYNC_FENCE_FDS, true);
@@ -464,8 +465,6 @@ int gk20a_init_gpu_characteristics(struct gk20a *g)
464 gpu->cbc_cache_line_size = g->gr.cacheline_size; 465 gpu->cbc_cache_line_size = g->gr.cacheline_size;
465 gpu->cbc_comptags_per_line = g->gr.comptags_per_cacheline; 466 gpu->cbc_comptags_per_line = g->gr.comptags_per_cacheline;
466 467
467 gpu->map_buffer_batch_limit = 256;
468
469 if (g->ops.clk.get_maxrate) 468 if (g->ops.clk.get_maxrate)
470 gpu->max_freq = g->ops.clk.get_maxrate(&g->clk); 469 gpu->max_freq = g->ops.clk.get_maxrate(&g->clk);
471 470