Commit | Line | Data |
---|---|---|
a4cea27b MS |
1 | #ifndef __NV10_FENCE_H_ |
2 | #define __NV10_FENCE_H_ | |
3 | ||
4 | #include <core/os.h> | |
5 | #include "nouveau_fence.h" | |
6 | #include "nouveau_bo.h" | |
7 | ||
8 | struct nv10_fence_chan { | |
9 | struct nouveau_fence_chan base; | |
0ad72863 BS |
10 | struct nvif_object sema; |
11 | struct nvif_object head[4]; | |
a4cea27b MS |
12 | }; |
13 | ||
14 | struct nv10_fence_priv { | |
15 | struct nouveau_fence_priv base; | |
16 | struct nouveau_bo *bo; | |
17 | spinlock_t lock; | |
18 | u32 sequence; | |
19 | }; | |
20 | ||
21 | #endif |