hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/gpu/arm/bifrost/mali_kbase_trace_gpu_mem.c
....@@ -1,7 +1,7 @@
11 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
22 /*
33 *
4
- * (C) COPYRIGHT 2020-2021 ARM Limited. All rights reserved.
4
+ * (C) COPYRIGHT 2020-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
....@@ -51,6 +51,8 @@
5151 * rb_tree is maintained at kbase_device level and kbase_process level
5252 * by passing the root of kbase_device or kbase_process we can remove
5353 * the node from the tree.
54
+ *
55
+ * Return: true on success.
5456 */
5557 static bool kbase_delete_dma_buf_mapping(struct kbase_context *kctx,
5658 struct dma_buf *dma_buf,
....@@ -100,6 +102,8 @@
100102 * of all unique dma_buf's mapped to gpu memory. So when attach any
101103 * dma_buf add it the rb_tree's. To add the unique mapping we need
102104 * check if the mapping is not a duplicate and then add them.
105
+ *
106
+ * Return: true on success
103107 */
104108 static bool kbase_capture_dma_buf_mapping(struct kbase_context *kctx,
105109 struct dma_buf *dma_buf,