summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c
index 366c7cb7..725ae278 100644
--- a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c
@@ -90,12 +90,9 @@ inline void css_hw_set_handled_snapshots(struct gk20a *g, u32 done)
90static void css_hw_reset_streaming(struct gk20a *g) 90static void css_hw_reset_streaming(struct gk20a *g)
91{ 91{
92 u32 engine_status; 92 u32 engine_status;
93 u32 old_pmc = gk20a_readl(g, mc_enable_r());
94 93
95 /* reset the perfmon */ 94 /* reset the perfmon */
96 gk20a_writel(g, mc_enable_r(), 95 g->ops.mc.reset(g, mc_enable_perfmon_enabled_f());
97 old_pmc & ~mc_enable_perfmon_enabled_f());
98 gk20a_writel(g, mc_enable_r(), old_pmc);
99 96
100 /* RBUFEMPTY must be set -- otherwise we'll pick up */ 97 /* RBUFEMPTY must be set -- otherwise we'll pick up */
101 /* snapshot that have been queued up from earlier */ 98 /* snapshot that have been queued up from earlier */