]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit5e498abf14858945f1249d9cc4ff1e8715a307e3
treed8c599a61c51f700fd5dd9ae5d5492ce64e38b45
parent4dff47c7607a7ceb9916fec179dc88e7b90f3b7c
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