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/gk20a/platform_gk20a_tegra.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c') diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c index dfbc1ae0..9d17aa86 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c @@ -584,6 +584,11 @@ struct gk20a_platform gk20a_tegra_platform = { struct gk20a_platform gm20b_tegra_platform = { .has_syncpoints = true, + /* + * Enable aggressive reclaiming of sync point, becuase we have + * fewer sync points than channels + */ + .sync_aggressive_destroy = true, /* power management configuration */ .railgate_delay = 500, -- cgit v1.2.2