diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-03-06 13:43:16 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-07 21:04:41 -0500 |
commit | 418f31cd91a5c3ca45f0920ed64205def49c8a80 (patch) | |
tree | 17e3e04065679788aeeff645842866df0d59ccd0 /drivers/gpu/nvgpu/gm20b/fifo_gm20b.c | |
parent | f85a0d3e00b53453f3d5ca556f15465078473f31 (diff) |
gpu: nvgpu: Enable IO coherency on GV100
This reverts commit 848af2ce6de6140323a6ffe3075bf8021e119434.
This is a revert of a revert, etc, etc. It re-enables IO coherence again.
JIRA EVLR-2333
Change-Id: Ibf97dce2f892e48a1200a06cd38a1c5d9603be04
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1669722
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/fifo_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/fifo_gm20b.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c index 0762e8bd..15612995 100644 --- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <nvgpu/atomic.h> | 32 | #include <nvgpu/atomic.h> |
33 | #include <nvgpu/barrier.h> | 33 | #include <nvgpu/barrier.h> |
34 | #include <nvgpu/mm.h> | 34 | #include <nvgpu/mm.h> |
35 | #include <nvgpu/enabled.h> | ||
35 | 36 | ||
36 | #include <nvgpu/hw/gm20b/hw_ccsr_gm20b.h> | 37 | #include <nvgpu/hw/gm20b/hw_ccsr_gm20b.h> |
37 | #include <nvgpu/hw/gm20b/hw_ram_gm20b.h> | 38 | #include <nvgpu/hw/gm20b/hw_ram_gm20b.h> |
@@ -51,11 +52,12 @@ void channel_gm20b_bind(struct channel_gk20a *c) | |||
51 | 52 | ||
52 | 53 | ||
53 | gk20a_writel(g, ccsr_channel_inst_r(c->chid), | 54 | gk20a_writel(g, ccsr_channel_inst_r(c->chid), |
54 | ccsr_channel_inst_ptr_f(inst_ptr) | | 55 | ccsr_channel_inst_ptr_f(inst_ptr) | |
55 | nvgpu_aperture_mask(g, &c->inst_block, | 56 | nvgpu_aperture_mask(g, &c->inst_block, |
56 | ccsr_channel_inst_target_sys_mem_ncoh_f(), | 57 | ccsr_channel_inst_target_sys_mem_ncoh_f(), |
57 | ccsr_channel_inst_target_vid_mem_f()) | | 58 | ccsr_channel_inst_target_sys_mem_coh_f(), |
58 | ccsr_channel_inst_bind_true_f()); | 59 | ccsr_channel_inst_target_vid_mem_f()) | |
60 | ccsr_channel_inst_bind_true_f()); | ||
59 | 61 | ||
60 | gk20a_writel(g, ccsr_channel_r(c->chid), | 62 | gk20a_writel(g, ccsr_channel_r(c->chid), |
61 | (gk20a_readl(g, ccsr_channel_r(c->chid)) & | 63 | (gk20a_readl(g, ccsr_channel_r(c->chid)) & |