From 2deab755e794ab14000a9f6549ee05ce0d0cdb2b Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Wed, 17 Jan 2018 11:18:08 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1640381 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') 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) l->debugfs_bypass_smmu = debugfs_create_bool("bypass_smmu", - S_IRUGO|S_IWUSR, + S_IRUGO, l->debugfs, &g->mm.bypass_smmu); l->debugfs_disable_bigpage = -- cgit v1.2.2