From c3117bf337371d6e161a13849cadc8a4fc9c63b0 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 10 May 2016 13:47:17 -0700 Subject: gpu: nvgpu: gv11b: Use gp10b GR floorsweeping Use gp10b version of GR floorsweeping function. Change-Id: I5715672b5f94b779165f44c78aec14a2836928e7 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1144905 --- drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c') diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 64bfa773..cb9c1902 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c @@ -1310,19 +1310,7 @@ static void gr_gv11b_commit_global_bundle_cb(struct gk20a *g, static int gr_gv11b_init_fs_state(struct gk20a *g) { - u32 data; - - data = gk20a_readl(g, gr_gpcs_tpcs_sm_texio_control_r()); - data = set_field(data, gr_gpcs_tpcs_sm_texio_control_oor_addr_check_mode_m(), - gr_gpcs_tpcs_sm_texio_control_oor_addr_check_mode_arm_63_48_match_f()); - gk20a_writel(g, gr_gpcs_tpcs_sm_texio_control_r(), data); - - data = gk20a_readl(g, gr_gpcs_tpcs_sm_disp_ctrl_r()); - data = set_field(data, gr_gpcs_tpcs_sm_disp_ctrl_re_suppress_m(), - gr_gpcs_tpcs_sm_disp_ctrl_re_suppress_disable_f()); - gk20a_writel(g, gr_gpcs_tpcs_sm_disp_ctrl_r(), data); - - return gr_gm20b_ctx_state_floorsweep(g); + return gr_gp10b_init_fs_state(g); } static void gr_gv11b_init_cyclestats(struct gk20a *g) -- cgit v1.2.2