]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: explicitely note that dma-fence-chains use 64bit seqno
authorChristian König <christian.koenig@amd.com>
Mon, 15 Apr 2019 12:46:34 +0000 (14:46 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 16 Apr 2019 12:49:10 +0000 (14:49 +0200)
commitfab4fdd4c90f2b31ed747ee2e71d49cbf309783b
treed8c599a61c51f700fd5dd9ae5d5492ce64e38b45
parent81df5b922a5b7feb373c12512f518f2125ac4852
dma-buf: explicitely note that dma-fence-chains use 64bit seqno

Instead of checking the upper values of the sequence number use an explicit
field in the dma_fence_ops structure to note if a sequence should be 32bit
or 64bit.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/299655/
drivers/dma-buf/dma-fence-chain.c
drivers/dma-buf/sw_sync.c
drivers/dma-buf/sync_file.c
include/linux/dma-fence.h