From 36834282354de2760e54b1381e03e0fe8bc8b2a4 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 28 Nov 2014 12:51:35 +0200 Subject: 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 Reviewed-on: http://git-master/r/657095 Reviewed-by: Deepak Nibade --- drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/vgpu') 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) * resource at this point * if not, then it will be destroyed at channel_free() */ - if (ch->sync && ch->sync->aggressive_destroy) { + if (ch->sync && platform->sync_aggressive_destroy) { ch->sync->destroy(ch->sync); ch->sync = NULL; } -- cgit v1.2.2