summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ce2_gk20a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
index f50fec13..3e979ebd 100644
--- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
@@ -27,6 +27,7 @@
27#include <nvgpu/hw/gk20a/hw_top_gk20a.h> 27#include <nvgpu/hw/gk20a/hw_top_gk20a.h>
28#include <nvgpu/hw/gk20a/hw_mc_gk20a.h> 28#include <nvgpu/hw/gk20a/hw_mc_gk20a.h>
29#include <nvgpu/hw/gk20a/hw_gr_gk20a.h> 29#include <nvgpu/hw/gk20a/hw_gr_gk20a.h>
30#include <nvgpu/barrier.h>
30 31
31static u32 ce2_nonblockpipe_isr(struct gk20a *g, u32 fifo_intr) 32static u32 ce2_nonblockpipe_isr(struct gk20a *g, u32 fifo_intr)
32{ 33{
@@ -654,7 +655,7 @@ int gk20a_ce_execute_ops(struct gk20a *g,
654 /* take always the postfence as it is needed for protecting the ce context */ 655 /* take always the postfence as it is needed for protecting the ce context */
655 submit_flags |= NVGPU_SUBMIT_GPFIFO_FLAGS_FENCE_GET; 656 submit_flags |= NVGPU_SUBMIT_GPFIFO_FLAGS_FENCE_GET;
656 657
657 wmb(); 658 nvgpu_smp_wmb();
658 659
659 ret = gk20a_submit_channel_gpfifo(ce_ctx->ch, &gpfifo, NULL, 660 ret = gk20a_submit_channel_gpfifo(ce_ctx->ch, &gpfifo, NULL,
660 1, submit_flags, &fence, 661 1, submit_flags, &fence,