|
@@ -1010,7 +1010,7 @@ static const struct nvkm_bitfield gf100_mp_global_error[] = {
|
|
|
{}
|
|
|
};
|
|
|
|
|
|
-static void
|
|
|
+void
|
|
|
gf100_gr_trap_mp(struct gf100_gr *gr, int gpc, int tpc)
|
|
|
{
|
|
|
struct nvkm_subdev *subdev = &gr->base.engine.subdev;
|
|
@@ -1046,7 +1046,7 @@ gf100_gr_trap_tpc(struct gf100_gr *gr, int gpc, int tpc)
|
|
|
}
|
|
|
|
|
|
if (stat & 0x00000002) {
|
|
|
- gf100_gr_trap_mp(gr, gpc, tpc);
|
|
|
+ gr->func->trap_mp(gr, gpc, tpc);
|
|
|
stat &= ~0x00000002;
|
|
|
}
|
|
|
|
|
@@ -2176,6 +2176,7 @@ gf100_gr = {
|
|
|
.init_tex_hww_esr = gf100_gr_init_tex_hww_esr,
|
|
|
.init_shader_exceptions = gf100_gr_init_shader_exceptions,
|
|
|
.init_400054 = gf100_gr_init_400054,
|
|
|
+ .trap_mp = gf100_gr_trap_mp,
|
|
|
.mmio = gf100_gr_pack_mmio,
|
|
|
.fecs.ucode = &gf100_gr_fecs_ucode,
|
|
|
.gpccs.ucode = &gf100_gr_gpccs_ucode,
|