diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index e1702bd7..3632963a 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <nvgpu/io.h> | 44 | #include <nvgpu/io.h> |
45 | #include <nvgpu/utils.h> | 45 | #include <nvgpu/utils.h> |
46 | #include <nvgpu/channel.h> | 46 | #include <nvgpu/channel.h> |
47 | #include <nvgpu/unit.h> | ||
47 | 48 | ||
48 | #include "gk20a.h" | 49 | #include "gk20a.h" |
49 | #include "mm_gk20a.h" | 50 | #include "mm_gk20a.h" |
@@ -53,7 +54,6 @@ | |||
53 | #include <nvgpu/hw/gk20a/hw_ccsr_gk20a.h> | 54 | #include <nvgpu/hw/gk20a/hw_ccsr_gk20a.h> |
54 | #include <nvgpu/hw/gk20a/hw_ram_gk20a.h> | 55 | #include <nvgpu/hw/gk20a/hw_ram_gk20a.h> |
55 | #include <nvgpu/hw/gk20a/hw_top_gk20a.h> | 56 | #include <nvgpu/hw/gk20a/hw_top_gk20a.h> |
56 | #include <nvgpu/hw/gk20a/hw_mc_gk20a.h> | ||
57 | #include <nvgpu/hw/gk20a/hw_gr_gk20a.h> | 57 | #include <nvgpu/hw/gk20a/hw_gr_gk20a.h> |
58 | 58 | ||
59 | #define FECS_METHOD_WFI_RESTORE 0x80000 | 59 | #define FECS_METHOD_WFI_RESTORE 0x80000 |
@@ -822,7 +822,7 @@ int gk20a_init_fifo_reset_enable_hw(struct gk20a *g) | |||
822 | nvgpu_log_fn(g, " "); | 822 | nvgpu_log_fn(g, " "); |
823 | 823 | ||
824 | /* enable pmc pfifo */ | 824 | /* enable pmc pfifo */ |
825 | g->ops.mc.reset(g, mc_enable_pfifo_enabled_f()); | 825 | g->ops.mc.reset(g, g->ops.mc.reset_mask(g, NVGPU_UNIT_FIFO)); |
826 | 826 | ||
827 | if (g->ops.clock_gating.slcg_fifo_load_gating_prod) { | 827 | if (g->ops.clock_gating.slcg_fifo_load_gating_prod) { |
828 | g->ops.clock_gating.slcg_fifo_load_gating_prod(g, | 828 | g->ops.clock_gating.slcg_fifo_load_gating_prod(g, |