diff options
author | Seema Khowala <seemaj@nvidia.com> | 2018-01-17 13:52:10 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-19 16:59:16 -0500 |
commit | c713934675b32b30f3939f3ab4dd7466eb96a523 (patch) | |
tree | 498641bf7081372cb210253fb3f21f85948160be /drivers/gpu/nvgpu/common | |
parent | 968d8cd3e543b951714d9a86373bd721d08c8482 (diff) |
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 <seemaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1640380
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
304 | debugfs_create_u32("ch_wdt_timeout_ms", S_IRUGO|S_IWUSR, | 304 | debugfs_create_u32("ch_wdt_timeout_ms", S_IRUGO|S_IWUSR, |
305 | l->debugfs, &g->ch_wdt_timeout_ms); | 305 | l->debugfs, &g->ch_wdt_timeout_ms); |
306 | 306 | ||
307 | debugfs_create_u32("disable_syncpoints", S_IRUGO|S_IWUSR, | 307 | debugfs_create_u32("disable_syncpoints", S_IRUGO, |
308 | l->debugfs, &g->disable_syncpoints); | 308 | l->debugfs, &g->disable_syncpoints); |
309 | 309 | ||
310 | /* Legacy debugging API. */ | 310 | /* Legacy debugging API. */ |