diff options
author | Seema Khowala <seemaj@nvidia.com> | 2016-10-13 18:48:44 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-17 17:45:58 -0400 |
commit | ac5383e76e2a2629d4bb1573ed080b89f1e2040f (patch) | |
tree | 76bc64626f4b9ddc20c34fc6d1bc5eb6b89eb284 | |
parent | 8b34e4c6a8c2e8d162833e943f67ff072b0b7ecb (diff) |
gpu: nvgpu: gv11b: remove tex exception
update for CL#37320141
JIRA GV11B-27
Change-Id: I095af59ac419b44b3a1e3abc489857d6f533874a
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1236274
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-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, |