diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c index 0a769b56..011c980e 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | |||
@@ -702,8 +702,7 @@ gk20a_channel_semaphore_create(struct channel_gk20a *c) | |||
702 | asid = c->vm->as_share->id; | 702 | asid = c->vm->as_share->id; |
703 | 703 | ||
704 | sprintf(pool_name, "semaphore_pool-%d", c->hw_chid); | 704 | sprintf(pool_name, "semaphore_pool-%d", c->hw_chid); |
705 | sema->pool = gk20a_semaphore_pool_alloc(dev_from_gk20a(c->g), | 705 | sema->pool = gk20a_semaphore_pool_alloc(c->g, pool_name, 1024); |
706 | pool_name, 1024); | ||
707 | if (!sema->pool) | 706 | if (!sema->pool) |
708 | goto clean_up; | 707 | goto clean_up; |
709 | 708 | ||