1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2022 Intel Corporation 4 */ 5 6 #ifndef _XE_SYNC_TYPES_H_ 7 #define _XE_SYNC_TYPES_H_ 8 9 #include <linux/types.h> 10 11 struct drm_syncobj; 12 struct dma_fence; 13 struct dma_fence_chain; 14 struct drm_xe_sync; 15 struct user_fence; 16 17 struct xe_sync_entry { 18 struct drm_syncobj *syncobj; 19 struct dma_fence *fence; 20 struct dma_fence_chain *chain_fence; 21 struct xe_user_fence *ufence; 22 u64 addr; 23 u64 timeline_value; 24 u32 type; 25 u32 flags; 26 }; 27 28 #endif 29