diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c index 00d1b196..28a3d495 100644 --- a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.c | |||
@@ -34,12 +34,12 @@ | |||
34 | #include <nvgpu/io.h> | 34 | #include <nvgpu/io.h> |
35 | #include <nvgpu/utils.h> | 35 | #include <nvgpu/utils.h> |
36 | #include <nvgpu/channel.h> | 36 | #include <nvgpu/channel.h> |
37 | #include <nvgpu/unit.h> | ||
37 | 38 | ||
38 | #include "gk20a.h" | 39 | #include "gk20a.h" |
39 | #include "css_gr_gk20a.h" | 40 | #include "css_gr_gk20a.h" |
40 | 41 | ||
41 | #include <nvgpu/hw/gk20a/hw_perf_gk20a.h> | 42 | #include <nvgpu/hw/gk20a/hw_perf_gk20a.h> |
42 | #include <nvgpu/hw/gk20a/hw_mc_gk20a.h> | ||
43 | 43 | ||
44 | /* check client for pointed perfmon ownership */ | 44 | /* check client for pointed perfmon ownership */ |
45 | #define CONTAINS_PERFMON(cl, pm) \ | 45 | #define CONTAINS_PERFMON(cl, pm) \ |
@@ -89,7 +89,7 @@ static void css_hw_reset_streaming(struct gk20a *g) | |||
89 | u32 engine_status; | 89 | u32 engine_status; |
90 | 90 | ||
91 | /* reset the perfmon */ | 91 | /* reset the perfmon */ |
92 | g->ops.mc.reset(g, mc_enable_perfmon_enabled_f()); | 92 | g->ops.mc.reset(g, g->ops.mc.reset_mask(g, NVGPU_UNIT_PERFMON)); |
93 | 93 | ||
94 | /* RBUFEMPTY must be set -- otherwise we'll pick up */ | 94 | /* RBUFEMPTY must be set -- otherwise we'll pick up */ |
95 | /* snapshot that have been queued up from earlier */ | 95 | /* snapshot that have been queued up from earlier */ |