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 746a2de3..a27f08a4 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | |||
@@ -305,8 +305,6 @@ gk20a_channel_syncpt_create(struct channel_gk20a *c) | |||
305 | sp->ops.signal_timeline = gk20a_channel_syncpt_signal_timeline; | 305 | sp->ops.signal_timeline = gk20a_channel_syncpt_signal_timeline; |
306 | sp->ops.destroy = gk20a_channel_syncpt_destroy; | 306 | sp->ops.destroy = gk20a_channel_syncpt_destroy; |
307 | 307 | ||
308 | sp->ops.aggressive_destroy = true; | ||
309 | |||
310 | return &sp->ops; | 308 | return &sp->ops; |
311 | } | 309 | } |
312 | #endif /* CONFIG_TEGRA_GK20A */ | 310 | #endif /* CONFIG_TEGRA_GK20A */ |
@@ -644,10 +642,6 @@ gk20a_channel_semaphore_create(struct channel_gk20a *c) | |||
644 | sema->ops.signal_timeline = gk20a_channel_semaphore_signal_timeline; | 642 | sema->ops.signal_timeline = gk20a_channel_semaphore_signal_timeline; |
645 | sema->ops.destroy = gk20a_channel_semaphore_destroy; | 643 | sema->ops.destroy = gk20a_channel_semaphore_destroy; |
646 | 644 | ||
647 | /* Aggressively destroying the semaphore sync would cause overhead | ||
648 | * since the pool needs to be mapped to GMMU. */ | ||
649 | sema->ops.aggressive_destroy = false; | ||
650 | |||
651 | return &sema->ops; | 645 | return &sema->ops; |
652 | clean_up: | 646 | clean_up: |
653 | gk20a_channel_semaphore_destroy(&sema->ops); | 647 | gk20a_channel_semaphore_destroy(&sema->ops); |