forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h
....@@ -1,4 +1,4 @@
1
-/* SPDX-License-Identifier: GPL-2.0 */
1
+/* SPDX-License-Identifier: MIT */
22 #ifndef __NVKM_GR_H__
33 #define __NVKM_GR_H__
44 #include <core/engine.h>
....@@ -10,6 +10,9 @@
1010
1111 u64 nvkm_gr_units(struct nvkm_gr *);
1212 int nvkm_gr_tlb_flush(struct nvkm_gr *);
13
+int nvkm_gr_ctxsw_pause(struct nvkm_device *);
14
+int nvkm_gr_ctxsw_resume(struct nvkm_device *);
15
+u32 nvkm_gr_ctxsw_inst(struct nvkm_device *);
1316
1417 int nv04_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
1518 int nv10_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
....@@ -47,6 +50,8 @@
4750 int gp102_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
4851 int gp104_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
4952 int gp107_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
53
+int gp108_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
5054 int gp10b_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
5155 int gv100_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
56
+int tu102_gr_new(struct nvkm_device *, int, struct nvkm_gr **);
5257 #endif