summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-04-20 13:31:09 -0400
committerIshan Mittal <imittal@nvidia.com>2015-05-18 02:02:40 -0400
commitd20afe7bd4a5cf74c7dfab6b9735604ba506215e (patch)
tree9dff668a9730034db48f671cc586b1da5cf00042 /drivers/gpu/nvgpu/gk20a/gk20a.c
parent96ffe0c64d88f4f8154322c00823083ef97f3643 (diff)
gpu: nvgpu: Dynamic betacb size
Allow querying and setting default betacb size via debugfs. For global buffers the value takes effect upon first boot of GPU, and has no effect after that. Bug 1628352 Change-Id: Ib63f4299249c41eab1b36cc501b525cc54211195 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/733328
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index b8357c76..470729b7 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -1518,6 +1518,7 @@ static int gk20a_probe(struct platform_device *dev)
1518 S_IRUGO|S_IWUSR, 1518 S_IRUGO|S_IWUSR,
1519 platform->debugfs, 1519 platform->debugfs,
1520 &gk20a->mm.disable_bigpage); 1520 &gk20a->mm.disable_bigpage);
1521 gr_gk20a_debugfs_init(gk20a);
1521 gk20a_pmu_debugfs_init(dev); 1522 gk20a_pmu_debugfs_init(dev);
1522 gk20a_cde_debugfs_init(dev); 1523 gk20a_cde_debugfs_init(dev);
1523#endif 1524#endif