diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 17 |
1 files changed, 1 insertions, 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, | |||
83 | static int gr_gv11b_handle_tex_exception(struct gk20a *g, u32 gpc, u32 tpc, | 83 | static int gr_gv11b_handle_tex_exception(struct gk20a *g, u32 gpc, u32 tpc, |
84 | bool *post_event) | 84 | bool *post_event) |
85 | { | 85 | { |
86 | int ret = 0; | 86 | return 0; |
87 | u32 offset = proj_gpc_stride_v() * gpc + | ||
88 | proj_tpc_in_gpc_stride_v() * tpc; | ||
89 | u32 esr; | ||
90 | |||
91 | gk20a_dbg(gpu_dbg_fn | gpu_dbg_gpu_dbg, ""); | ||
92 | |||
93 | esr = gk20a_readl(g, | ||
94 | gr_gpc0_tpc0_tex_m_hww_esr_r() + offset); | ||
95 | gk20a_dbg(gpu_dbg_intr | gpu_dbg_gpu_dbg, "0x%08x", esr); | ||
96 | |||
97 | gk20a_writel(g, | ||
98 | gr_gpc0_tpc0_tex_m_hww_esr_r() + offset, | ||
99 | esr); | ||
100 | |||
101 | return ret; | ||
102 | } | 87 | } |
103 | 88 | ||
104 | static int gr_gv11b_commit_global_cb_manager(struct gk20a *g, | 89 | static int gr_gv11b_commit_global_cb_manager(struct gk20a *g, |