summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-11-28 05:51:35 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:25 -0400
commit36834282354de2760e54b1381e03e0fe8bc8b2a4 (patch)
treecce5b221077f047fc2f9fd83b379b7f20e604c1e /drivers/gpu/nvgpu/vgpu
parent0d11ff0c9cd39b2ee6433b296c5ba029355e1c44 (diff)
gpu: nvgpu: Enable syncpt reclaim only on gm20b
gm20b has more channels than sync points. We use aggressive reclaim of sync points to offset that. Disable aggressive reclaim for gk20a because it is not needed there. Bug 1583849 Change-Id: I2a74b0504150a54cb8a97016effe20c5d905ac95 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/657095 Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r--drivers/gpu/nvgpu/vgpu/fifo_vgpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
index 24b9f4be..5310088f 100644
--- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
@@ -63,7 +63,7 @@ static void vgpu_channel_unbind(struct channel_gk20a *ch)
63 * resource at this point 63 * resource at this point
64 * if not, then it will be destroyed at channel_free() 64 * if not, then it will be destroyed at channel_free()
65 */ 65 */
66 if (ch->sync && ch->sync->aggressive_destroy) { 66 if (ch->sync && platform->sync_aggressive_destroy) {
67 ch->sync->destroy(ch->sync); 67 ch->sync->destroy(ch->sync);
68 ch->sync = NULL; 68 ch->sync = NULL;
69 } 69 }