diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/gr_gv100.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/gr_gv100.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv100/gr_gv100.c b/drivers/gpu/nvgpu/gv100/gr_gv100.c index 97affdd9..13092f2a 100644 --- a/drivers/gpu/nvgpu/gv100/gr_gv100.c +++ b/drivers/gpu/nvgpu/gv100/gr_gv100.c | |||
@@ -229,9 +229,11 @@ int gr_gv100_init_sm_id_table(struct gk20a *g) | |||
229 | goto exit_build_table; | 229 | goto exit_build_table; |
230 | } | 230 | } |
231 | 231 | ||
232 | for (gpc = 0; gpc < g->gr.gpc_count; gpc++) | 232 | for (gpc = 0; gpc < g->gr.gpc_count; gpc++) { |
233 | for (pes = 0; pes < g->gr.gpc_ppc_count[gpc]; pes++) | 233 | for (pes = 0; pes < g->gr.gpc_ppc_count[gpc]; pes++) { |
234 | gpc_tpc_mask[gpc] |= g->gr.pes_tpc_mask[pes][gpc]; | 234 | gpc_tpc_mask[gpc] |= g->gr.pes_tpc_mask[pes][gpc]; |
235 | } | ||
236 | } | ||
235 | 237 | ||
236 | for (gtpc = 0; gtpc < g->gr.tpc_count; gtpc++) { | 238 | for (gtpc = 0; gtpc < g->gr.tpc_count; gtpc++) { |
237 | maxperf = -1; | 239 | maxperf = -1; |