Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / gpu / drm / nouveau / nvkm / engine / sw / nv50.h
blob459afd30a484540fa08dd939010807e725ef7e3f
1 /* SPDX-License-Identifier: GPL-2.0 */
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>
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;
20 void *nv50_sw_chan_dtor(struct nvkm_sw_chan *);
21 #endif