diff --git a/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c b/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c index 3af32bb23..ae76333af 100644 --- a/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c +++ b/drivers/gpu/nvgpu/os/linux/debug_fecs_trace.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -101,9 +101,6 @@ static int gk20a_ctxsw_debugfs_ring_open(struct inode *inode, { struct gk20a **p; - if (!capable(CAP_SYS_ADMIN)) - return -EPERM; - p = __seq_open_private(file, &gk20a_fecs_trace_debugfs_ring_seq_ops, sizeof(struct gk20a *)); if (!p) diff --git a/drivers/gpu/nvgpu/os/linux/debug_fifo.c b/drivers/gpu/nvgpu/os/linux/debug_fifo.c index 7a29325f7..74d6c86fb 100644 --- a/drivers/gpu/nvgpu/os/linux/debug_fifo.c +++ b/drivers/gpu/nvgpu/os/linux/debug_fifo.c @@ -113,9 +113,6 @@ static int gk20a_fifo_sched_debugfs_open(struct inode *inode, struct gk20a *g = inode->i_private; int err; - if (!capable(CAP_SYS_ADMIN)) - return -EPERM; - err = seq_open(file, &gk20a_fifo_sched_debugfs_seq_ops); if (err) return err;