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 |