These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / gpu / drm / nouveau / include / nvkm / engine / sw.h
1 #ifndef __NVKM_SW_H__
2 #define __NVKM_SW_H__
3 #include <core/engine.h>
4
5 struct nvkm_sw {
6         const struct nvkm_sw_func *func;
7         struct nvkm_engine engine;
8
9         struct list_head chan;
10 };
11
12 bool nvkm_sw_mthd(struct nvkm_sw *sw, int chid, int subc, u32 mthd, u32 data);
13
14 int nv04_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
15 int nv10_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
16 int nv50_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
17 int gf100_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
18 #endif