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