Marcin Slusarz | a4cea27 | 2012-12-25 17:50:43 +0100 | [diff] [blame] | 1 | #ifndef __NV10_FENCE_H_ |
| 2 | #define __NV10_FENCE_H_ |
| 3 | |
Marcin Slusarz | a4cea27 | 2012-12-25 17:50:43 +0100 | [diff] [blame] | 4 | #include "nouveau_fence.h" |
| 5 | #include "nouveau_bo.h" |
| 6 | |
| 7 | struct nv10_fence_chan { |
| 8 | struct nouveau_fence_chan base; |
Ben Skeggs | 0ad7286 | 2014-08-10 04:10:22 +1000 | [diff] [blame] | 9 | struct nvif_object sema; |
| 10 | struct nvif_object head[4]; |
Marcin Slusarz | a4cea27 | 2012-12-25 17:50:43 +0100 | [diff] [blame] | 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 |