xref: /linux/drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h (revision bd628c1bed7902ec1f24ba0fe70758949146abbe)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_GR_H__
3 #define __NVKM_GR_H__
4 #include <core/engine.h>
5 
6 struct nvkm_gr {
7 	const struct nvkm_gr_func *func;
8 	struct nvkm_engine engine;
9 };
10 
11 u64 nvkm_gr_units(struct nvkm_gr *);
12 int nvkm_gr_tlb_flush(struct nvkm_gr *);
13 
14 int nv04_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
15 int nv10_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
16 int nv15_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
17 int nv17_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
18 int nv20_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
19 int nv25_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
20 int nv2a_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
21 int nv30_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
22 int nv34_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
23 int nv35_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
24 int nv40_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
25 int nv44_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
26 int nv50_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
27 int g84_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
28 int gt200_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
29 int mcp79_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
30 int gt215_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
31 int mcp89_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
32 int gf100_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
33 int gf104_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
34 int gf108_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
35 int gf110_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
36 int gf117_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
37 int gf119_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
38 int gk104_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
39 int gk110_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
40 int gk110b_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
41 int gk208_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
42 int gk20a_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
43 int gm107_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
44 int gm200_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
45 int gm20b_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
46 int gp100_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
47 int gp102_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
48 int gp104_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
49 int gp107_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
50 int gp10b_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
51 int gv100_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
52 #endif
53