Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / gpu / drm / nouveau / include / nvkm / engine / sw.h
blob83a17c4e11e73d385ecfe7d8a42efa784bf9741d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_SW_H__
3 #define __NVKM_SW_H__
4 #include <core/engine.h>
6 struct nvkm_sw {
7 const struct nvkm_sw_func *func;
8 struct nvkm_engine engine;
10 struct list_head chan;
13 bool nvkm_sw_mthd(struct nvkm_sw *sw, int chid, int subc, u32 mthd, u32 data);
15 int nv04_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
16 int nv10_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
17 int nv50_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
18 int gf100_sw_new(struct nvkm_device *, int, struct nvkm_sw **);
19 #endif