diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c index e94a112f..d87b8661 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | |||
@@ -410,7 +410,7 @@ static void add_sema_cmd(struct gk20a *g, struct channel_gk20a *c, | |||
410 | * incr the underlying sema next_value. | 410 | * incr the underlying sema next_value. |
411 | */ | 411 | */ |
412 | if (!acquire) | 412 | if (!acquire) |
413 | nvgpu_semaphore_incr(s, c->hw_sema); | 413 | nvgpu_semaphore_prepare(s, c->hw_sema); |
414 | 414 | ||
415 | /* semaphore_a */ | 415 | /* semaphore_a */ |
416 | nvgpu_mem_wr32(g, cmd->mem, off++, 0x20010004); | 416 | nvgpu_mem_wr32(g, cmd->mem, off++, 0x20010004); |