]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h
UBUNTU: Ubuntu-5.4.0-117.132
[mirror_ubuntu-focal-kernel.git] / drivers / gpu / drm / nouveau / include / nvkm / engine / gr.h
CommitLineData
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 6struct nvkm_gr {
27f3d6cf 7 const struct nvkm_gr_func *func;
c85ee6ca 8 struct nvkm_engine engine;
b8bf04e1
BS
9};
10
c85ee6ca
BS
11u64 nvkm_gr_units(struct nvkm_gr *);
12int nvkm_gr_tlb_flush(struct nvkm_gr *);
169f30b3
BS
13int nvkm_gr_ctxsw_pause(struct nvkm_device *);
14int nvkm_gr_ctxsw_resume(struct nvkm_device *);
ae5ea7f6 15u32 nvkm_gr_ctxsw_inst(struct nvkm_device *);
c85ee6ca
BS
16
17int nv04_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
18int nv10_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
19int nv15_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
20int nv17_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
21int nv20_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
22int nv25_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
23int nv2a_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
24int nv30_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
25int nv34_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
26int nv35_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
27int nv40_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
28int nv44_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
29int nv50_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
30int g84_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
31int gt200_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
32int mcp79_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
33int gt215_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
34int mcp89_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
35int gf100_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
36int gf104_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
37int gf108_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
38int gf110_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
39int gf117_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
40int gf119_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
41int gk104_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
42int gk110_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
43int gk110b_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
44int gk208_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
45int gk20a_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
46int gm107_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
9ec28052 47int gm200_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
c85ee6ca 48int gm20b_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
52fa0866 49int gp100_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
424321be 50int gp102_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
a5537f98 51int gp104_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
b2c4ef70 52int gp107_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
51751f7d 53int gp10b_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
d521097f 54int gv100_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
b8bf04e1 55#endif