drm/nouveau/gr/gf100-: virtualise init_ppc_exceptions

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2018-05-08 20:39:46 +10:00
parent 778f18c607
commit 70d2148209

View 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);