hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/gpu/arm/bifrost/csf/mali_kbase_csf_kcpu_debugfs.c
....@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
22 /*
33 *
4
- * (C) COPYRIGHT 2019-2021 ARM Limited. All rights reserved.
4
+ * (C) COPYRIGHT 2019-2022 ARM Limited. All rights reserved.
55 *
66 * This program is free software and is provided to you under the terms of the
77 * GNU General Public License version 2 as published by the Free Software
....@@ -30,7 +30,7 @@
3030 #if IS_ENABLED(CONFIG_DEBUG_FS)
3131
3232 /**
33
- * kbasep_csf_kcpu_debugfs_print_queue() - Print additional info for KCPU
33
+ * kbasep_csf_kcpu_debugfs_print_cqs_waits() - Print additional info for KCPU
3434 * queues blocked on CQS wait commands.
3535 *
3636 * @file: The seq_file to print to
....@@ -167,11 +167,7 @@
167167 void kbase_csf_kcpu_debugfs_init(struct kbase_context *kctx)
168168 {
169169 struct dentry *file;
170
-#if (KERNEL_VERSION(4, 7, 0) <= LINUX_VERSION_CODE)
171170 const mode_t mode = 0444;
172
-#else
173
- const mode_t mode = 0400;
174
-#endif
175171
176172 if (WARN_ON(!kctx || IS_ERR_OR_NULL(kctx->kctx_dentry)))
177173 return;