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 19