diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 4638d597..c98da273 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -1293,7 +1293,6 @@ static int gr_gk20a_ctx_state_floorsweep(struct gk20a *g) | |||
1293 | u32 tpc_offset, gpc_offset; | 1293 | u32 tpc_offset, gpc_offset; |
1294 | u32 sm_id = 0, gpc_id = 0; | 1294 | u32 sm_id = 0, gpc_id = 0; |
1295 | u32 tpc_per_gpc; | 1295 | u32 tpc_per_gpc; |
1296 | u32 max_ways_evict = INVALID_MAX_WAYS; | ||
1297 | u32 gpc_stride = nvgpu_get_litter_value(g, GPU_LIT_GPC_STRIDE); | 1296 | u32 gpc_stride = nvgpu_get_litter_value(g, GPU_LIT_GPC_STRIDE); |
1298 | u32 tpc_in_gpc_stride = nvgpu_get_litter_value(g, GPU_LIT_TPC_IN_GPC_STRIDE); | 1297 | u32 tpc_in_gpc_stride = nvgpu_get_litter_value(g, GPU_LIT_TPC_IN_GPC_STRIDE); |
1299 | 1298 | ||
@@ -1355,12 +1354,6 @@ static int gr_gk20a_ctx_state_floorsweep(struct gk20a *g) | |||
1355 | if (g->ops.gr.setup_alpha_beta_tables) | 1354 | if (g->ops.gr.setup_alpha_beta_tables) |
1356 | g->ops.gr.setup_alpha_beta_tables(g, gr); | 1355 | g->ops.gr.setup_alpha_beta_tables(g, gr); |
1357 | 1356 | ||
1358 | if (gr->num_fbps == 1) | ||
1359 | max_ways_evict = 9; | ||
1360 | |||
1361 | if (max_ways_evict != INVALID_MAX_WAYS) | ||
1362 | g->ops.ltc.set_max_ways_evict_last(g, max_ways_evict); | ||
1363 | |||
1364 | for (gpc_index = 0; | 1357 | for (gpc_index = 0; |
1365 | gpc_index < gr_pd_dist_skip_table__size_1_v() * 4; | 1358 | gpc_index < gr_pd_dist_skip_table__size_1_v() * 4; |
1366 | gpc_index += 4) { | 1359 | gpc_index += 4) { |