hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/gpu/arm/bifrost/csf/mali_kbase_csf_heap_context_alloc.h
....@@ -47,10 +47,10 @@
4747 /**
4848 * kbase_csf_heap_context_allocator_alloc - Allocate a heap context structure
4949 *
50
+ * @ctx_alloc: Pointer to the heap context allocator.
51
+ *
5052 * If this function is successful then it returns the address of a
5153 * zero-initialized heap context structure for use by the firmware.
52
- *
53
- * @ctx_alloc: Pointer to the heap context allocator.
5454 *
5555 * Return: GPU virtual address of the allocated heap context or 0 on failure.
5656 */
....@@ -60,13 +60,13 @@
6060 /**
6161 * kbase_csf_heap_context_allocator_free - Free a heap context structure
6262 *
63
- * This function returns a heap context structure to the free pool of unused
64
- * contexts for possible reuse by a future call to
65
- * @kbase_csf_heap_context_allocator_alloc.
66
- *
6763 * @ctx_alloc: Pointer to the heap context allocator.
6864 * @heap_gpu_va: The GPU virtual address of a heap context structure that
6965 * was allocated for the firmware.
66
+ *
67
+ * This function returns a heap context structure to the free pool of unused
68
+ * contexts for possible reuse by a future call to
69
+ * @kbase_csf_heap_context_allocator_alloc.
7070 */
7171 void kbase_csf_heap_context_allocator_free(
7272 struct kbase_csf_heap_context_allocator *const ctx_alloc,