sw.h 557 B

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