diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c index 9e60d9f7..ef76e76b 100644 --- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | |||
@@ -1803,16 +1803,14 @@ void gv11b_fifo_add_syncpt_incr_cmd(struct gk20a *g, | |||
1803 | /* semaphore_d */ | 1803 | /* semaphore_d */ |
1804 | nvgpu_mem_wr32(g, cmd->mem, off++, 0x20010007); | 1804 | nvgpu_mem_wr32(g, cmd->mem, off++, 0x20010007); |
1805 | 1805 | ||
1806 | /* operation: release, wfi */ | 1806 | /* operation: 4 byte payload, release, wfi */ |
1807 | nvgpu_mem_wr32(g, cmd->mem, off++, | 1807 | nvgpu_mem_wr32(g, cmd->mem, off++, |
1808 | 0x2 | ((wfi_cmd ? 0x0 : 0x1) << 20)); | 1808 | (0x1 << 24) | 0x2 | ((wfi_cmd ? 0x0 : 0x1) << 20)); |
1809 | /* ignored */ | ||
1810 | nvgpu_mem_wr32(g, cmd->mem, off++, 0); | ||
1811 | } | 1809 | } |
1812 | 1810 | ||
1813 | u32 gv11b_fifo_get_syncpt_incr_cmd_size(bool wfi_cmd) | 1811 | u32 gv11b_fifo_get_syncpt_incr_cmd_size(bool wfi_cmd) |
1814 | { | 1812 | { |
1815 | return 9; | 1813 | return 8; |
1816 | } | 1814 | } |
1817 | #endif /* CONFIG_TEGRA_GK20A_NVHOST */ | 1815 | #endif /* CONFIG_TEGRA_GK20A_NVHOST */ |
1818 | 1816 | ||