Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / engine / sw / nv50.h
blob6d364d7b406a43cfed3087e214a3c56f8ca24b2f
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>
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