diff options
author | Timo Alho <talho@nvidia.com> | 2014-12-04 03:53:17 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:26 -0400 |
commit | 31a436b3a1720f0ff3ab51d102c55c09c7e247fd (patch) | |
tree | 602eea3c57e1d841de4a681527910a50a8fe3404 /drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | |
parent | 383f176a9db510e51a04b2dc00fad47aa0a1ed6b (diff) |
Revert "gpu: nvgpu: Enable syncpt reclaim only on gm20b"
This reverts commit 8eefb93c21934b101d7f423c38d9ea384a45fad6.
Bug 1585422
Change-Id: I217e0ffe6c230ee3c63d9aec1c48ce9c41770468
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/659426
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, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c index a27f08a4..746a2de3 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | |||
@@ -305,6 +305,8 @@ 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 | |||
308 | return &sp->ops; | 310 | return &sp->ops; |
309 | } | 311 | } |
310 | #endif /* CONFIG_TEGRA_GK20A */ | 312 | #endif /* CONFIG_TEGRA_GK20A */ |
@@ -642,6 +644,10 @@ gk20a_channel_semaphore_create(struct channel_gk20a *c) | |||
642 | sema->ops.signal_timeline = gk20a_channel_semaphore_signal_timeline; | 644 | sema->ops.signal_timeline = gk20a_channel_semaphore_signal_timeline; |
643 | sema->ops.destroy = gk20a_channel_semaphore_destroy; | 645 | sema->ops.destroy = gk20a_channel_semaphore_destroy; |
644 | 646 | ||
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 | |||
645 | return &sema->ops; | 651 | return &sema->ops; |
646 | clean_up: | 652 | clean_up: |
647 | gk20a_channel_semaphore_destroy(&sema->ops); | 653 | gk20a_channel_semaphore_destroy(&sema->ops); |