diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c index 380ea048..d83684e4 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | |||
@@ -76,9 +76,9 @@ static int gk20a_channel_syncpt_wait_syncpt(struct gk20a_channel_sync *s, | |||
76 | } | 76 | } |
77 | 77 | ||
78 | nvgpu_log(c->g, gpu_dbg_info, "sp->id %d gpu va %llx", | 78 | nvgpu_log(c->g, gpu_dbg_info, "sp->id %d gpu va %llx", |
79 | id, sp->syncpt_buf.gpu_va); | 79 | id, sp->c->vm->syncpt_ro_map_gpu_va); |
80 | c->g->ops.fifo.add_syncpt_wait_cmd(c->g, wait_cmd, 0, id, | 80 | c->g->ops.fifo.add_syncpt_wait_cmd(c->g, wait_cmd, 0, id, |
81 | thresh, sp->syncpt_buf.gpu_va); | 81 | thresh, c->vm->syncpt_ro_map_gpu_va); |
82 | 82 | ||
83 | return 0; | 83 | return 0; |
84 | } | 84 | } |
@@ -147,7 +147,7 @@ static int gk20a_channel_syncpt_wait_fd(struct gk20a_channel_sync *s, int fd, | |||
147 | wait_id, sp->syncpt_buf.gpu_va); | 147 | wait_id, sp->syncpt_buf.gpu_va); |
148 | c->g->ops.fifo.add_syncpt_wait_cmd(c->g, wait_cmd, | 148 | c->g->ops.fifo.add_syncpt_wait_cmd(c->g, wait_cmd, |
149 | i * wait_cmd_size, wait_id, wait_value, | 149 | i * wait_cmd_size, wait_id, wait_value, |
150 | sp->syncpt_buf.gpu_va); | 150 | c->vm->syncpt_ro_map_gpu_va); |
151 | } | 151 | } |
152 | } | 152 | } |
153 | 153 | ||