]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: some dma_fence_chain improvements
authorChristian König <christian.koenig@amd.com>
Wed, 5 May 2021 09:40:54 +0000 (11:40 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 14 Jun 2021 17:33:16 +0000 (19:33 +0200)
commit8c34129159b918213251c63ecec1fcce3f40f93f
tree30b08fb10e15f2ea7cecbdf5daedb0e52772780c
parent237d736f3de7e2369f536b5d3c0ccbaba513df2e
dma-buf: some dma_fence_chain improvements

The callback and the irq work are never used at the same
time. Putting them into an union saves us 24 bytes and
makes the structure only 120 bytes in size.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210611120301.10595-2-christian.koenig@amd.com
drivers/dma-buf/dma-fence-chain.c
include/linux/dma-fence-chain.h