diff --git a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h index 8a6a6ec4c..2c05f567b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h @@ -789,7 +789,7 @@ struct gk20a { bool aggressive_sync_destroy; /** Debugfs knob for forcing syncpt support off in runtime. */ - u32 disable_syncpoints; + bool disable_syncpoints; /** Is LS PMU supported? */ bool support_ls_pmu; diff --git a/drivers/gpu/nvgpu/os/linux/debug.c b/drivers/gpu/nvgpu/os/linux/debug.c index 8c55aa21d..609eb5f86 100644 --- a/drivers/gpu/nvgpu/os/linux/debug.c +++ b/drivers/gpu/nvgpu/os/linux/debug.c @@ -362,7 +362,7 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink) debugfs_create_u32("ch_wdt_init_limit_ms", S_IRUGO|S_IWUSR, l->debugfs, &g->ch_wdt_init_limit_ms); - debugfs_create_u32("disable_syncpoints", S_IRUGO, + debugfs_create_bool("disable_syncpoints", S_IRUGO, l->debugfs, &g->disable_syncpoints); /* New debug logging API. */