diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/debug_fifo.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/debug_fifo.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/debug_fifo.c b/drivers/gpu/nvgpu/os/linux/debug_fifo.c index 0c791a42..98da8bc7 100644 --- a/drivers/gpu/nvgpu/os/linux/debug_fifo.c +++ b/drivers/gpu/nvgpu/os/linux/debug_fifo.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2017-2018 NVIDIA Corporation. All rights reserved. | 2 | * Copyright (C) 2017-2020 NVIDIA Corporation. All rights reserved. |
3 | * | 3 | * |
4 | * This software is licensed under the terms of the GNU General Public | 4 | * This software is licensed under the terms of the GNU General Public |
5 | * License version 2, as published by the Free Software Foundation, and | 5 | * License version 2, as published by the Free Software Foundation, and |
@@ -113,9 +113,6 @@ static int gk20a_fifo_sched_debugfs_open(struct inode *inode, | |||
113 | struct gk20a *g = inode->i_private; | 113 | struct gk20a *g = inode->i_private; |
114 | int err; | 114 | int err; |
115 | 115 | ||
116 | if (!capable(CAP_SYS_ADMIN)) | ||
117 | return -EPERM; | ||
118 | |||
119 | err = seq_open(file, &gk20a_fifo_sched_debugfs_seq_ops); | 116 | err = seq_open(file, &gk20a_fifo_sched_debugfs_seq_ops); |
120 | if (err) | 117 | if (err) |
121 | return err; | 118 | return err; |