diff options
Diffstat (limited to 'drivers/gpu')
-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 bba18789..8ff53d17 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | |||
@@ -677,10 +677,9 @@ gk20a_channel_semaphore_create(struct channel_gk20a *c) | |||
677 | if (c->vm->as_share) | 677 | if (c->vm->as_share) |
678 | asid = c->vm->as_share->id; | 678 | asid = c->vm->as_share->id; |
679 | 679 | ||
680 | /* A pool of 256 semaphores fits into one 4k page. */ | ||
681 | sprintf(pool_name, "semaphore_pool-%d", c->hw_chid); | 680 | sprintf(pool_name, "semaphore_pool-%d", c->hw_chid); |
682 | sema->pool = gk20a_semaphore_pool_alloc(dev_from_gk20a(c->g), | 681 | sema->pool = gk20a_semaphore_pool_alloc(dev_from_gk20a(c->g), |
683 | pool_name, 256); | 682 | pool_name, 1024); |
684 | if (!sema->pool) | 683 | if (!sema->pool) |
685 | goto clean_up; | 684 | goto clean_up; |
686 | 685 | ||