From c713934675b32b30f3939f3ab4dd7466eb96a523 Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Wed, 17 Jan 2018 10:52:10 -0800 Subject: gpu: nvgpu: disable_syncpoints debugfs changed to read only Syncpoints can longer be disabled/enabled during run time as NVGPU_HAS_SYNCPOINTS flag is set based on has_syncpoints value in platform data during probe. Based on this, either of syncpoint or semaphore pool is initialized. Bug 2040115 Change-Id: Ib256e1a6ec8b1584799adb6f183fd567aebfaf13 Signed-off-by: Seema Khowala Reviewed-on: https://git-master.nvidia.com/r/1640380 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/gpu/nvgpu') diff --git a/drivers/gpu/nvgpu/common/linux/debug.c b/drivers/gpu/nvgpu/common/linux/debug.c index 169bfbc5..76018f8d 100644 --- a/drivers/gpu/nvgpu/common/linux/debug.c +++ b/drivers/gpu/nvgpu/common/linux/debug.c @@ -304,7 +304,7 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink) debugfs_create_u32("ch_wdt_timeout_ms", S_IRUGO|S_IWUSR, l->debugfs, &g->ch_wdt_timeout_ms); - debugfs_create_u32("disable_syncpoints", S_IRUGO|S_IWUSR, + debugfs_create_u32("disable_syncpoints", S_IRUGO, l->debugfs, &g->disable_syncpoints); /* Legacy debugging API. */ -- cgit v1.2.2