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