Commit 7cc44c73 authored by Christian König's avatar Christian König Committed by T.J. Mercier
Browse files

UPSTREAM: dma-buf: add dma_fence_chain_alloc/free v3



Add a common allocation helper. Cleaning up the mix of kzalloc/kmalloc
and some unused code in the selftest.

v2: polish kernel doc a bit
v3: polish kernel doc even a bit more

Change-Id: I66a85ce4763f9bb3923b00b01f840f873abc7cc5
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210611120301.10595-3-christian.koenig@amd.com


(cherry picked from commit 440d0f12)
Bug: 394776841
Bug: 397845301
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
parent bac5f31b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment