xref: /linux/drivers/gpu/drm/nouveau/nv10_fence.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1 #ifndef __NV10_FENCE_H_
2 #define __NV10_FENCE_H_
3 
4 #include "nouveau_fence.h"
5 #include "nouveau_bo.h"
6 
7 struct nv10_fence_chan {
8 	struct nouveau_fence_chan base;
9 	struct nvif_object sema;
10 	struct nvif_object head[4];
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