From 4021d42cbb37c6d7cd30bd132d1d08d004422917 Mon Sep 17 00:00:00 2001 From: Inamdar Sharif Date: Fri, 19 Jan 2018 23:15:55 -0800 Subject: Revert "gpu: nvgpu: disable_syncpoints debugfs changed to read only" This reverts commit c713934675b32b30f3939f3ab4dd7466eb96a523. since this change is causing ap_opengles_screen to fail on embedded-qnx-hv Change-Id: I812d3483df961def492fb49c14911f6bcca36da4 Signed-off-by: Inamdar Sharif Reviewed-on: https://git-master.nvidia.com/r/1642759 --- drivers/gpu/nvgpu/common/linux/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/common/linux/debug.c b/drivers/gpu/nvgpu/common/linux/debug.c index 76018f8d..169bfbc5 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, + debugfs_create_u32("disable_syncpoints", S_IRUGO|S_IWUSR, l->debugfs, &g->disable_syncpoints); /* Legacy debugging API. */ -- cgit v1.2.2