xref: /linux/drivers/gpu/drm/nouveau/nv10_fence.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NV10_FENCE_H_
3 #define __NV10_FENCE_H_
4 
5 #include "nouveau_fence.h"
6 #include "nouveau_bo.h"
7 
8 struct nv10_fence_chan {
9 	struct nouveau_fence_chan base;
10 	struct nvif_object sema;
11 };
12 
13 struct nv10_fence_priv {
14 	struct nouveau_fence_priv base;
15 	struct nouveau_bo *bo;
16 	spinlock_t lock;
17 	u32 sequence;
18 };
19 
20 #endif
21