summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
index ebe11c67..3c04c2e4 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
@@ -1399,7 +1399,7 @@ static int gr_gp10b_load_smid_config(struct gk20a *g)
1399 gr_cwd_gpc_tpc_id_tpc0_s(); 1399 gr_cwd_gpc_tpc_id_tpc0_s();
1400 1400
1401 for (j = 0; j < 4; j++) { 1401 for (j = 0; j < 4; j++) {
1402 u32 sm_id = (i / 4) + j; 1402 u32 sm_id = (i * 4) + j;
1403 u32 bits; 1403 u32 bits;
1404 1404
1405 if (sm_id >= g->gr.tpc_count) 1405 if (sm_id >= g->gr.tpc_count)