]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit9c61e789546810ee63708568737cb990d2b86605
tree30b08fb10e15f2ea7cecbdf5daedb0e52772780c
parentade0e676ecdcdd3428210684c76493722e09a791
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