From ac5383e76e2a2629d4bb1573ed080b89f1e2040f Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Thu, 13 Oct 2016 15:48:44 -0700 Subject: gpu: nvgpu: gv11b: remove tex exception update for CL#37320141 JIRA GV11B-27 Change-Id: I095af59ac419b44b3a1e3abc489857d6f533874a Signed-off-by: Seema Khowala Reviewed-on: http://git-master/r/1236274 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 78ffd3d4..89be2563 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c @@ -83,22 +83,7 @@ static int gr_gv11b_handle_sm_exception(struct gk20a *g, u32 gpc, u32 tpc, static int gr_gv11b_handle_tex_exception(struct gk20a *g, u32 gpc, u32 tpc, bool *post_event) { - int ret = 0; - u32 offset = proj_gpc_stride_v() * gpc + - proj_tpc_in_gpc_stride_v() * tpc; - u32 esr; - - gk20a_dbg(gpu_dbg_fn | gpu_dbg_gpu_dbg, ""); - - esr = gk20a_readl(g, - gr_gpc0_tpc0_tex_m_hww_esr_r() + offset); - gk20a_dbg(gpu_dbg_intr | gpu_dbg_gpu_dbg, "0x%08x", esr); - - gk20a_writel(g, - gr_gpc0_tpc0_tex_m_hww_esr_r() + offset, - esr); - - return ret; + return 0; } static int gr_gv11b_commit_global_cb_manager(struct gk20a *g, -- cgit v1.2.2