drm/nouveau/gr/gf100-: virtualise init_ppc_exceptions
authorBen Skeggs <bskeggs@redhat.com>
Tue, 8 May 2018 10:39:46 +0000 (20:39 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 18 May 2018 05:01:23 +0000 (15:01 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c

index a379794..7764425 100644 (file)
@@ -2071,6 +2071,9 @@ gf100_gr_init(struct gf100_gr *gr)
        if (gr->func->init_419c9c)
                gr->func->init_419c9c(gr);
 
+       if (gr->func->init_ppc_exceptions)
+               gr->func->init_ppc_exceptions(gr);
+
        for (gpc = 0; gpc < gr->gpc_nr; gpc++) {
                nvkm_wr32(device, GPC_UNIT(gpc, 0x0420), 0xc0000000);
                nvkm_wr32(device, GPC_UNIT(gpc, 0x0900), 0xc0000000);