diff options
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/channel.c b/drivers/gpu/nvgpu/os/linux/channel.c index 7810bc21..e09939e9 100644 --- a/drivers/gpu/nvgpu/os/linux/channel.c +++ b/drivers/gpu/nvgpu/os/linux/channel.c | |||
@@ -662,7 +662,7 @@ static void gk20a_submit_append_priv_cmdbuf(struct channel_gk20a *c, | |||
662 | 662 | ||
663 | if (cmd->mem->aperture == APERTURE_SYSMEM) | 663 | if (cmd->mem->aperture == APERTURE_SYSMEM) |
664 | trace_gk20a_push_cmdbuf(g->name, 0, cmd->size, 0, | 664 | trace_gk20a_push_cmdbuf(g->name, 0, cmd->size, 0, |
665 | cmd->mem->cpu_va + cmd->off * sizeof(u32)); | 665 | (u32 *)cmd->mem->cpu_va + cmd->off); |
666 | 666 | ||
667 | c->gpfifo.put = (c->gpfifo.put + 1) & (c->gpfifo.entry_num - 1); | 667 | c->gpfifo.put = (c->gpfifo.put + 1) & (c->gpfifo.entry_num - 1); |
668 | } | 668 | } |