xref: /linux/drivers/gpu/drm/nouveau/nv10_fence.h (revision 827634added7f38b7d724cab1dccdb2b004c13c3)
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