linux/drivers/gpu/drm/vgem
Christian König b312d8ca3a dma-buf: make fence sequence numbers 64 bit v2
For a lot of use cases we need 64bit sequence numbers. Currently drivers
overload the dma_fence structure to store the additional bits.

Stop doing that and make the sequence number in the dma_fence always
64bit.

For compatibility with hardware which can do only 32bit sequences the
comparisons in __dma_fence_is_later only takes the lower 32bits as significant
when the upper 32bits are all zero.

v2: change the logic in __dma_fence_is_later

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Link: https://patchwork.freedesktop.org/patch/266927/
2018-12-07 12:44:16 +01:00
..
Makefile drm/vgem: remove unneeded -Iinclude/drm compiler flag 2017-05-18 07:13:59 +02:00
vgem_drv.c drm/vgem: Fix typo in driver feature flags 2018-11-05 15:31:51 +00:00
vgem_drv.h drm/vgem: Pin our pages for dmabuf exports 2017-06-23 13:04:22 +02:00
vgem_fence.c dma-buf: make fence sequence numbers 64 bit v2 2018-12-07 12:44:16 +01:00