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
11struct drm_syncobj;
12struct dma_fence;
13struct dma_fence_chain;
14struct drm_xe_sync;
15struct user_fence;
16
17struct xe_sync_entry {
18 struct drm_syncobj *syncobj;
19 struct dma_fence *fence;
20 struct dma_fence_chain *chain_fence;
21 struct dma_fence_chain *ufence_chain_fence;
22 struct drm_syncobj *ufence_syncobj;
23 struct xe_user_fence *ufence;
24 u64 addr;
25 u64 timeline_value;
26 u64 ufence_timeline_value;
27 u32 type;
28 u32 flags;
29};
30
31#endif
32

source code of linux/drivers/gpu/drm/xe/xe_sync_types.h