forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 223293205a7265c8b02882461ba8996650048ade
kernel/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h
....@@ -1,4 +1,4 @@
1
-/* SPDX-License-Identifier: GPL-2.0 */
1
+/* SPDX-License-Identifier: MIT */
22 #ifndef __NVKM_GRCTX_NVC0_H__
33 #define __NVKM_GRCTX_NVC0_H__
44 #include "gf100.h"
....@@ -57,6 +57,7 @@
5757 /* floorsweeping */
5858 void (*sm_id)(struct gf100_gr *, int gpc, int tpc, int sm);
5959 void (*tpc_nr)(struct gf100_gr *, int gpc);
60
+ bool skip_pd_num_tpc_per_gpc;
6061 void (*r4060a8)(struct gf100_gr *);
6162 void (*rop_mapping)(struct gf100_gr *);
6263 void (*alpha_beta_tables)(struct gf100_gr *);
....@@ -76,6 +77,7 @@
7677 void (*r418e94)(struct gf100_gr *);
7778 void (*r419a3c)(struct gf100_gr *);
7879 void (*r408840)(struct gf100_gr *);
80
+ void (*r419c0c)(struct gf100_gr *);
7981 };
8082
8183 extern const struct gf100_grctx_func gf100_grctx;
....@@ -153,6 +155,14 @@
153155
154156 extern const struct gf100_grctx_func gv100_grctx;
155157
158
+extern const struct gf100_grctx_func tu102_grctx;
159
+void gv100_grctx_unkn88c(struct gf100_gr *, bool);
160
+void gv100_grctx_generate_unkn(struct gf100_gr *);
161
+extern const struct gf100_gr_init gv100_grctx_init_sw_veid_bundle_init_0[];
162
+void gv100_grctx_generate_attrib(struct gf100_grctx *);
163
+void gv100_grctx_generate_rop_mapping(struct gf100_gr *);
164
+void gv100_grctx_generate_r400088(struct gf100_gr *, bool);
165
+
156166 /* context init value lists */
157167
158168 extern const struct gf100_gr_pack gf100_grctx_pack_icmd[];