Commit 6a2b09e7 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/gr/tu102: add gv100_gr_init_4188a4

Match RM.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
parent c4d66f7d
...@@ -254,6 +254,7 @@ u32 gv100_gr_nonpes_aware_tpc(struct gf100_gr *gr, u32 gpc, u32 tpc); ...@@ -254,6 +254,7 @@ u32 gv100_gr_nonpes_aware_tpc(struct gf100_gr *gr, u32 gpc, u32 tpc);
void gv100_gr_init_419bd8(struct gf100_gr *); void gv100_gr_init_419bd8(struct gf100_gr *);
void gv100_gr_init_504430(struct gf100_gr *, int, int); void gv100_gr_init_504430(struct gf100_gr *, int, int);
void gv100_gr_init_shader_exceptions(struct gf100_gr *, int, int); void gv100_gr_init_shader_exceptions(struct gf100_gr *, int, int);
void gv100_gr_init_4188a4(struct gf100_gr *);
void gv100_gr_trap_mp(struct gf100_gr *, int, int); void gv100_gr_trap_mp(struct gf100_gr *, int, int);
int tu102_gr_av_to_init_veid(struct nvkm_blob *, struct gf100_gr_pack **); int tu102_gr_av_to_init_veid(struct nvkm_blob *, struct gf100_gr_pack **);
......
...@@ -52,10 +52,11 @@ gv100_gr_trap_mp(struct gf100_gr *gr, int gpc, int tpc) ...@@ -52,10 +52,11 @@ gv100_gr_trap_mp(struct gf100_gr *gr, int gpc, int tpc)
gv100_gr_trap_sm(gr, gpc, tpc, 1); gv100_gr_trap_sm(gr, gpc, tpc, 1);
} }
static void void
gv100_gr_init_4188a4(struct gf100_gr *gr) gv100_gr_init_4188a4(struct gf100_gr *gr)
{ {
struct nvkm_device *device = gr->base.engine.subdev.device; struct nvkm_device *device = gr->base.engine.subdev.device;
nvkm_mask(device, 0x4188a4, 0x03000000, 0x03000000); nvkm_mask(device, 0x4188a4, 0x03000000, 0x03000000);
} }
......
...@@ -112,6 +112,7 @@ tu102_gr = { ...@@ -112,6 +112,7 @@ tu102_gr = {
.init_shader_exceptions = gv100_gr_init_shader_exceptions, .init_shader_exceptions = gv100_gr_init_shader_exceptions,
.init_rop_exceptions = gf100_gr_init_rop_exceptions, .init_rop_exceptions = gf100_gr_init_rop_exceptions,
.init_exception2 = gf100_gr_init_exception2, .init_exception2 = gf100_gr_init_exception2,
.init_4188a4 = gv100_gr_init_4188a4,
.trap_mp = gv100_gr_trap_mp, .trap_mp = gv100_gr_trap_mp,
.fecs.reset = gf100_gr_fecs_reset, .fecs.reset = gf100_gr_fecs_reset,
.rops = gm200_gr_rops, .rops = gm200_gr_rops,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment