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, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c index 7f70d347..95647774 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | |||
@@ -345,8 +345,6 @@ gk20a_channel_syncpt_create(struct channel_gk20a *c) | |||
345 | sp->ops.syncpt_id = gk20a_channel_syncpt_id; | 345 | sp->ops.syncpt_id = gk20a_channel_syncpt_id; |
346 | sp->ops.destroy = gk20a_channel_syncpt_destroy; | 346 | sp->ops.destroy = gk20a_channel_syncpt_destroy; |
347 | 347 | ||
348 | sp->ops.aggressive_destroy = true; | ||
349 | |||
350 | return &sp->ops; | 348 | return &sp->ops; |
351 | } | 349 | } |
352 | #endif /* CONFIG_TEGRA_GK20A */ | 350 | #endif /* CONFIG_TEGRA_GK20A */ |
@@ -690,10 +688,6 @@ gk20a_channel_semaphore_create(struct channel_gk20a *c) | |||
690 | sema->ops.syncpt_id = gk20a_channel_semaphore_syncpt_id; | 688 | sema->ops.syncpt_id = gk20a_channel_semaphore_syncpt_id; |
691 | sema->ops.destroy = gk20a_channel_semaphore_destroy; | 689 | sema->ops.destroy = gk20a_channel_semaphore_destroy; |
692 | 690 | ||
693 | /* Aggressively destroying the semaphore sync would cause overhead | ||
694 | * since the pool needs to be mapped to GMMU. */ | ||
695 | sema->ops.aggressive_destroy = false; | ||
696 | |||
697 | return &sema->ops; | 691 | return &sema->ops; |
698 | clean_up: | 692 | clean_up: |
699 | gk20a_channel_semaphore_destroy(&sema->ops); | 693 | gk20a_channel_semaphore_destroy(&sema->ops); |