.. | .. |
---|
1 | 1 | // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note |
---|
2 | 2 | /* |
---|
3 | 3 | * |
---|
4 | | - * (C) COPYRIGHT 2020-2021 ARM Limited. All rights reserved. |
---|
| 4 | + * (C) COPYRIGHT 2020-2022 ARM Limited. All rights reserved. |
---|
5 | 5 | * |
---|
6 | 6 | * This program is free software and is provided to you under the terms of the |
---|
7 | 7 | * GNU General Public License version 2 as published by the Free Software |
---|
.. | .. |
---|
51 | 51 | * rb_tree is maintained at kbase_device level and kbase_process level |
---|
52 | 52 | * by passing the root of kbase_device or kbase_process we can remove |
---|
53 | 53 | * the node from the tree. |
---|
| 54 | + * |
---|
| 55 | + * Return: true on success. |
---|
54 | 56 | */ |
---|
55 | 57 | static bool kbase_delete_dma_buf_mapping(struct kbase_context *kctx, |
---|
56 | 58 | struct dma_buf *dma_buf, |
---|
.. | .. |
---|
100 | 102 | * of all unique dma_buf's mapped to gpu memory. So when attach any |
---|
101 | 103 | * dma_buf add it the rb_tree's. To add the unique mapping we need |
---|
102 | 104 | * check if the mapping is not a duplicate and then add them. |
---|
| 105 | + * |
---|
| 106 | + * Return: true on success |
---|
103 | 107 | */ |
---|
104 | 108 | static bool kbase_capture_dma_buf_mapping(struct kbase_context *kctx, |
---|
105 | 109 | struct dma_buf *dma_buf, |
---|