summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
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/gk20a/platform_gk20a_tegra.c
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/gk20a/platform_gk20a_tegra.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c5
1 files changed, 5 insertions, 0 deletions
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 = {
584 584
585struct gk20a_platform gm20b_tegra_platform = { 585struct gk20a_platform gm20b_tegra_platform = {
586 .has_syncpoints = true, 586 .has_syncpoints = true,
587 /*
588 * Enable aggressive reclaiming of sync point, becuase we have
589 * fewer sync points than channels
590 */
591 .sync_aggressive_destroy = true,
587 592
588 /* power management configuration */ 593 /* power management configuration */
589 .railgate_delay = 500, 594 .railgate_delay = 500,