sw.h 518 B

123456789101112131415161718
  1. #ifndef __NVKM_SW_H__
  2. #define __NVKM_SW_H__
  3. #include <core/engine.h>
  4. struct nvkm_sw {
  5. const struct nvkm_sw_func *func;
  6. struct nvkm_engine engine;
  7. struct list_head chan;
  8. };
  9. bool nvkm_sw_mthd(struct nvkm_sw *sw, int chid, int subc, u32 mthd, u32 data);
  10. int nv04_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
  11. int nv10_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
  12. int nv50_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
  13. int gf100_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
  14. #endif