xref: /linux/drivers/gpu/drm/nouveau/nvkm/engine/sw/nv50.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1 #ifndef __NVKM_SW_NV50_H__
2 #define __NVKM_SW_NV50_H__
3 #define nv50_sw_chan(p) container_of((p), struct nv50_sw_chan, base)
4 #include "priv.h"
5 #include "chan.h"
6 #include "nvsw.h"
7 #include <core/notify.h>
8 
9 struct nv50_sw_chan {
10 	struct nvkm_sw_chan base;
11 	struct {
12 		struct nvkm_notify notify[4];
13 		u32 ctxdma;
14 		u64 offset;
15 		u32 value;
16 	} vblank;
17 };
18 
19 void *nv50_sw_chan_dtor(struct nvkm_sw_chan *);
20 #endif
21