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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 4bf198a0..a17e6bc1 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -2074,7 +2074,7 @@ int gk20a_init_gpu_characteristics(struct gk20a *g)
2074 gpu->on_board_video_memory_size = 0; /* integrated GPU */ 2074 gpu->on_board_video_memory_size = 0; /* integrated GPU */
2075 2075
2076 gpu->num_gpc = g->gr.gpc_count; 2076 gpu->num_gpc = g->gr.gpc_count;
2077 gpu->max_gpc_count = g->gr.gpc_count; 2077 gpu->max_gpc_count = g->gr.max_gpc_count;
2078 2078
2079 gpu->num_tpc_per_gpc = g->gr.max_tpc_per_gpc_count; 2079 gpu->num_tpc_per_gpc = g->gr.max_tpc_per_gpc_count;
2080 2080
@@ -2107,7 +2107,7 @@ int gk20a_init_gpu_characteristics(struct gk20a *g)
2107 gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_USERSPACE_MANAGED_AS; 2107 gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_USERSPACE_MANAGED_AS;
2108 gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_TSG; 2108 gpu->flags |= NVGPU_GPU_FLAGS_SUPPORT_TSG;
2109 2109
2110 gpu->gpc_mask = 1; 2110 gpu->gpc_mask = (1 << g->gr.gpc_count)-1;
2111 2111
2112 g->ops.gr.detect_sm_arch(g); 2112 g->ops.gr.detect_sm_arch(g);
2113 2113