| .. | .. |
|---|
| 47 | 47 | /** |
|---|
| 48 | 48 | * kbase_csf_heap_context_allocator_alloc - Allocate a heap context structure |
|---|
| 49 | 49 | * |
|---|
| 50 | + * @ctx_alloc: Pointer to the heap context allocator. |
|---|
| 51 | + * |
|---|
| 50 | 52 | * If this function is successful then it returns the address of a |
|---|
| 51 | 53 | * zero-initialized heap context structure for use by the firmware. |
|---|
| 52 | | - * |
|---|
| 53 | | - * @ctx_alloc: Pointer to the heap context allocator. |
|---|
| 54 | 54 | * |
|---|
| 55 | 55 | * Return: GPU virtual address of the allocated heap context or 0 on failure. |
|---|
| 56 | 56 | */ |
|---|
| .. | .. |
|---|
| 60 | 60 | /** |
|---|
| 61 | 61 | * kbase_csf_heap_context_allocator_free - Free a heap context structure |
|---|
| 62 | 62 | * |
|---|
| 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 | | - * |
|---|
| 67 | 63 | * @ctx_alloc: Pointer to the heap context allocator. |
|---|
| 68 | 64 | * @heap_gpu_va: The GPU virtual address of a heap context structure that |
|---|
| 69 | 65 | * 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. |
|---|
| 70 | 70 | */ |
|---|
| 71 | 71 | void kbase_csf_heap_context_allocator_free( |
|---|
| 72 | 72 | struct kbase_csf_heap_context_allocator *const ctx_alloc, |
|---|