]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - drivers/gpu/drm/nouveau/nvkm/engine/sw/nv50.h
Input: wm97xx: add new AC97 bus support
[mirror_ubuntu-focal-kernel.git] / drivers / gpu / drm / nouveau / nvkm / engine / sw / nv50.h
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