summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index e7e6662a..4638d597 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -1294,7 +1294,6 @@ static int gr_gk20a_ctx_state_floorsweep(struct gk20a *g)
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; 1296 u32 max_ways_evict = INVALID_MAX_WAYS;
1297 u32 l1c_dbg_reg_val;
1298 u32 gpc_stride = nvgpu_get_litter_value(g, GPU_LIT_GPC_STRIDE); 1297 u32 gpc_stride = nvgpu_get_litter_value(g, GPU_LIT_GPC_STRIDE);
1299 u32 tpc_in_gpc_stride = nvgpu_get_litter_value(g, GPU_LIT_TPC_IN_GPC_STRIDE); 1298 u32 tpc_in_gpc_stride = nvgpu_get_litter_value(g, GPU_LIT_TPC_IN_GPC_STRIDE);
1300 1299
@@ -1382,11 +1381,6 @@ static int gr_gk20a_ctx_state_floorsweep(struct gk20a *g)
1382 gk20a_writel(g, gr_bes_crop_settings_r(), 1381 gk20a_writel(g, gr_bes_crop_settings_r(),
1383 gr_bes_crop_settings_num_active_fbps_f(gr->num_fbps)); 1382 gr_bes_crop_settings_num_active_fbps_f(gr->num_fbps));
1384 1383
1385 /* turn on cya15 bit for a default val that missed the cut */
1386 l1c_dbg_reg_val = gk20a_readl(g, gr_gpc0_tpc0_l1c_dbg_r());
1387 l1c_dbg_reg_val |= gr_gpc0_tpc0_l1c_dbg_cya15_en_f();
1388 gk20a_writel(g, gr_gpc0_tpc0_l1c_dbg_r(), l1c_dbg_reg_val);
1389
1390 return 0; 1384 return 0;
1391} 1385}
1392 1386