diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c b/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c index ec6cce55..2b2410eb 100644 --- a/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c | |||
@@ -26,10 +26,10 @@ | |||
26 | #include <nvgpu/io.h> | 26 | #include <nvgpu/io.h> |
27 | #include <nvgpu/utils.h> | 27 | #include <nvgpu/utils.h> |
28 | #include <nvgpu/gk20a.h> | 28 | #include <nvgpu/gk20a.h> |
29 | #include <nvgpu/unit.h> | ||
29 | 30 | ||
30 | #include "gv11b/dbg_gpu_gv11b.h" | 31 | #include "gv11b/dbg_gpu_gv11b.h" |
31 | #include <nvgpu/hw/gv11b/hw_perf_gv11b.h> | 32 | #include <nvgpu/hw/gv11b/hw_perf_gv11b.h> |
32 | #include <nvgpu/hw/gv11b/hw_mc_gv11b.h> | ||
33 | #include <nvgpu/bug.h> | 33 | #include <nvgpu/bug.h> |
34 | 34 | ||
35 | static void gv11b_perfbuf_reset_streaming(struct gk20a *g) | 35 | static void gv11b_perfbuf_reset_streaming(struct gk20a *g) |
@@ -37,7 +37,7 @@ static void gv11b_perfbuf_reset_streaming(struct gk20a *g) | |||
37 | u32 engine_status; | 37 | u32 engine_status; |
38 | u32 num_unread_bytes; | 38 | u32 num_unread_bytes; |
39 | 39 | ||
40 | g->ops.mc.reset(g, mc_enable_perfmon_enabled_f()); | 40 | g->ops.mc.reset(g, g->ops.mc.reset_mask(g, NVGPU_UNIT_PERFMON)); |
41 | 41 | ||
42 | engine_status = gk20a_readl(g, perf_pmasys_enginestatus_r()); | 42 | engine_status = gk20a_readl(g, perf_pmasys_enginestatus_r()); |
43 | WARN_ON(0u == | 43 | WARN_ON(0u == |