From 6a5bd72856ce8cef4a29d1c26c47432195b93826 Mon Sep 17 00:00:00 2001 From: Inamdar Sharif Date: Sun, 21 Jan 2018 21:36:06 -0800 Subject: Revert "Revert "gpu: nvgpu: disable_syncpoints debugfs changed to read only"" This reverts commit 4021d42cbb37c6d7cd30bd132d1d08d004422917. Original change was reverted since that was suspected to have caused opengles test faulure on QNX, but it turned out that the original change was actually not causing the failure. Hence original change is restored. Change-Id: I64796f1a3b1f700f294c259d4426c493f2f1ad85 Signed-off-by: Inamdar Sharif Reviewed-on: https://git-master.nvidia.com/r/1643309 Reviewed-by: Bharat Nihalani Tested-by: Bharat Nihalani 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/common/linux/debug.c') 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