drm/nouveau/gr/tu102: add gv100_gr_init_4188a4
Match RM. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
This commit is contained in:
parent
c4d66f7db6
commit
6a2b09e7bf
|
@ -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_504430(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);
|
||||
|
||||
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)
|
|||
gv100_gr_trap_sm(gr, gpc, tpc, 1);
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
gv100_gr_init_4188a4(struct gf100_gr *gr)
|
||||
{
|
||||
struct nvkm_device *device = gr->base.engine.subdev.device;
|
||||
|
||||
nvkm_mask(device, 0x4188a4, 0x03000000, 0x03000000);
|
||||
}
|
||||
|
||||
|
|
|
@ -112,6 +112,7 @@ tu102_gr = {
|
|||
.init_shader_exceptions = gv100_gr_init_shader_exceptions,
|
||||
.init_rop_exceptions = gf100_gr_init_rop_exceptions,
|
||||
.init_exception2 = gf100_gr_init_exception2,
|
||||
.init_4188a4 = gv100_gr_init_4188a4,
|
||||
.trap_mp = gv100_gr_trap_mp,
|
||||
.fecs.reset = gf100_gr_fecs_reset,
|
||||
.rops = gm200_gr_rops,
|
||||
|
|
Loading…
Reference in New Issue