forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
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;
....@@ -121,6 +123,7 @@
121123
122124 extern const struct gf100_grctx_func gk110_grctx;
123125 void gk110_grctx_generate_r419eb0(struct gf100_gr *);
126
+void gk110_grctx_generate_r419f78(struct gf100_gr *);
124127
125128 extern const struct gf100_grctx_func gk110b_grctx;
126129 extern const struct gf100_grctx_func gk208_grctx;
....@@ -153,6 +156,14 @@
153156
154157 extern const struct gf100_grctx_func gv100_grctx;
155158
159
+extern const struct gf100_grctx_func tu102_grctx;
160
+void gv100_grctx_unkn88c(struct gf100_gr *, bool);
161
+void gv100_grctx_generate_unkn(struct gf100_gr *);
162
+extern const struct gf100_gr_init gv100_grctx_init_sw_veid_bundle_init_0[];
163
+void gv100_grctx_generate_attrib(struct gf100_grctx *);
164
+void gv100_grctx_generate_rop_mapping(struct gf100_gr *);
165
+void gv100_grctx_generate_r400088(struct gf100_gr *, bool);
166
+
156167 /* context init value lists */
157168
158169 extern const struct gf100_gr_pack gf100_grctx_pack_icmd[];