]>
Commit | Line | Data |
---|---|---|
b7019ac5 | 1 | /* SPDX-License-Identifier: MIT */ |
e3c71eb2 BS |
2 | #ifndef __NVKM_GR_H__ |
3 | #define __NVKM_GR_H__ | |
e3c71eb2 | 4 | #include <core/engine.h> |
b8bf04e1 | 5 | |
e3c71eb2 | 6 | struct nvkm_gr { |
27f3d6cf | 7 | const struct nvkm_gr_func *func; |
c85ee6ca | 8 | struct nvkm_engine engine; |
b8bf04e1 BS |
9 | }; |
10 | ||
c85ee6ca BS |
11 | u64 nvkm_gr_units(struct nvkm_gr *); |
12 | int nvkm_gr_tlb_flush(struct nvkm_gr *); | |
169f30b3 BS |
13 | int nvkm_gr_ctxsw_pause(struct nvkm_device *); |
14 | int nvkm_gr_ctxsw_resume(struct nvkm_device *); | |
ae5ea7f6 | 15 | u32 nvkm_gr_ctxsw_inst(struct nvkm_device *); |
c85ee6ca BS |
16 | |
17 | int nv04_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
18 | int nv10_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
19 | int nv15_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
20 | int nv17_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
21 | int nv20_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
22 | int nv25_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
23 | int nv2a_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
24 | int nv30_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
25 | int nv34_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
26 | int nv35_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
27 | int nv40_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
28 | int nv44_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
29 | int nv50_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
30 | int g84_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
31 | int gt200_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
32 | int mcp79_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
33 | int gt215_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
34 | int mcp89_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
35 | int gf100_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
36 | int gf104_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
37 | int gf108_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
38 | int gf110_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
39 | int gf117_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
40 | int gf119_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
41 | int gk104_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
42 | int gk110_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
43 | int gk110b_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
44 | int gk208_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
45 | int gk20a_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
46 | int gm107_gr_new(struct nvkm_device *, int, struct nvkm_gr **); | |
9ec28052 | 47 | int gm200_gr_new(struct nvkm_device *, int, struct nvkm_gr **); |
c85ee6ca | 48 | int gm20b_gr_new(struct nvkm_device *, int, struct nvkm_gr **); |
52fa0866 | 49 | int gp100_gr_new(struct nvkm_device *, int, struct nvkm_gr **); |
424321be | 50 | int gp102_gr_new(struct nvkm_device *, int, struct nvkm_gr **); |
a5537f98 | 51 | int gp104_gr_new(struct nvkm_device *, int, struct nvkm_gr **); |
b2c4ef70 | 52 | int gp107_gr_new(struct nvkm_device *, int, struct nvkm_gr **); |
51751f7d | 53 | int gp10b_gr_new(struct nvkm_device *, int, struct nvkm_gr **); |
d521097f | 54 | int gv100_gr_new(struct nvkm_device *, int, struct nvkm_gr **); |
b8bf04e1 | 55 | #endif |