summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/debug.c
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2018-01-17 14:18:08 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-18 13:30:15 -0500
commit2deab755e794ab14000a9f6549ee05ce0d0cdb2b (patch)
tree00244ee5b53322d1864c3d2fe75f49e2ea9e09ed /drivers/gpu/nvgpu/common/linux/debug.c
parent42e938e0012930e0ef6f673aefc5879452a7ad83 (diff)
gpu: nvgpu: bypass_smmu debugfs changed to read only
bypass_smmu is set based on whether device_is_iommuable or not during probe. It cannot be changed during runtime. Change-Id: I69fd29c87ea3873652a4eb95764f52dc40abf483 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1640381 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug.c b/drivers/gpu/nvgpu/common/linux/debug.c
index fb07df5b..169bfbc5 100644
--- a/drivers/gpu/nvgpu/common/linux/debug.c
+++ b/drivers/gpu/nvgpu/common/linux/debug.c
@@ -334,7 +334,7 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink)
334 334
335 l->debugfs_bypass_smmu = 335 l->debugfs_bypass_smmu =
336 debugfs_create_bool("bypass_smmu", 336 debugfs_create_bool("bypass_smmu",
337 S_IRUGO|S_IWUSR, 337 S_IRUGO,
338 l->debugfs, 338 l->debugfs,
339 &g->mm.bypass_smmu); 339 &g->mm.bypass_smmu);
340 l->debugfs_disable_bigpage = 340 l->debugfs_disable_bigpage =