dma-buf/fence: add fence_is_later()
authorChristian König <christian.koenig@amd.com>
Wed, 21 Oct 2015 10:58:17 +0000 (12:58 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Oct 2015 05:47:27 +0000 (01:47 -0400)
commit6c455ac17bcf4beae6c094a1007b976b60b4bb57
tree61986caaccbc9aca6cf3cedd715ed42b88a31223
parenta519435a96597d8cd96123246fea4ae5a6c90b02
dma-buf/fence: add fence_is_later()

Return true when fence 1 is later than fence 2 without
checking if any of them are signaled.

Useful for driver specific resource handling based on fences.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
include/linux/fence.h