1 1.2 riastrad /* $NetBSD: nv10_fence.h,v 1.3 2021/12/18 23:45:32 riastradh Exp $ */ 2 1.2 riastrad 3 1.3 riastrad /* SPDX-License-Identifier: MIT */ 4 1.1 riastrad #ifndef __NV10_FENCE_H_ 5 1.1 riastrad #define __NV10_FENCE_H_ 6 1.1 riastrad 7 1.1 riastrad #include "nouveau_fence.h" 8 1.1 riastrad #include "nouveau_bo.h" 9 1.1 riastrad 10 1.1 riastrad struct nv10_fence_chan { 11 1.1 riastrad struct nouveau_fence_chan base; 12 1.2 riastrad struct nvif_object sema; 13 1.1 riastrad }; 14 1.1 riastrad 15 1.1 riastrad struct nv10_fence_priv { 16 1.1 riastrad struct nouveau_fence_priv base; 17 1.1 riastrad struct nouveau_bo *bo; 18 1.1 riastrad spinlock_t lock; 19 1.1 riastrad u32 sequence; 20 1.1 riastrad }; 21 1.1 riastrad 22 1.1 riastrad #endif 23