]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dma-buf: Split out dma fence array create into alloc and arm functions
authorMatthew Brost <matthew.brost@intel.com>
Mon, 26 Aug 2024 17:01:43 +0000 (10:01 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 30 Aug 2024 18:41:05 +0000 (11:41 -0700)
commitddc94d0b17e8ea8179ecbbefacac3fba0fb77265
tree97275ea12a0fe1e9d8fd30618e2bd903c164a030
parent20f61c1ead989e5d16f35bd0a546c6233b703b69
dma-buf: Split out dma fence array create into alloc and arm functions

Useful to preallocate dma fence array and then arm in path of reclaim or
a dma fence.

v2:
 - s/arm/init (Christian)
 - Drop !array warn (Christian)
v3:
 - Fix kernel doc typos (dim)

Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240826170144.2492062-2-matthew.brost@intel.com
drivers/dma-buf/dma-fence-array.c
include/linux/dma-fence-array.h