1 /* $NetBSD: nv50.h,v 1.3 2021/12/18 23:45:37 riastradh Exp $ */ 2 3 /* SPDX-License-Identifier: MIT */ 4 #ifndef __NVKM_SW_NV50_H__ 5 #define __NVKM_SW_NV50_H__ 6 #define nv50_sw_chan(p) container_of((p), struct nv50_sw_chan, base) 7 #include "priv.h" 8 #include "chan.h" 9 #include "nvsw.h" 10 #include <core/notify.h> 11 12 struct nv50_sw_chan { 13 struct nvkm_sw_chan base; 14 struct { 15 struct nvkm_notify notify[4]; 16 u32 ctxdma; 17 u64 offset; 18 u32 value; 19 } vblank; 20 }; 21 22 void *nv50_sw_chan_dtor(struct nvkm_sw_chan *); 23 #endif 24