drm/nouveau/gr/gf100-: support firmware-provided sw_nonctx everywhere
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -1941,6 +1941,9 @@ gf100_gr_init(struct gf100_gr *gr)
|
|||||||
|
|
||||||
gr->func->init_gpc_mmu(gr);
|
gr->func->init_gpc_mmu(gr);
|
||||||
|
|
||||||
|
if (gr->fuc_sw_nonctx)
|
||||||
|
gf100_gr_mmio(gr, gr->fuc_sw_nonctx);
|
||||||
|
else
|
||||||
gf100_gr_mmio(gr, gr->func->mmio);
|
gf100_gr_mmio(gr, gr->func->mmio);
|
||||||
|
|
||||||
nvkm_mask(device, TPC_UNIT(0, 0, 0x05c), 0x00000001, 0x00000001);
|
nvkm_mask(device, TPC_UNIT(0, 0, 0x05c), 0x00000001, 0x00000001);
|
||||||
|
Reference in New Issue
Block a user