Lines Matching refs:device
294 struct nvkm_device *device = gr->base.engine.subdev.device; in gm107_gr_init_bios() local
295 struct nvkm_bios *bios = device->bios; in gm107_gr_init_bios()
303 nvkm_wr32(device, regs[E].ctrl, infoE.data); in gm107_gr_init_bios()
305 nvkm_wr32(device, regs[E].data, infoX.data); in gm107_gr_init_bios()
313 struct nvkm_device *device = gr->base.engine.subdev.device; in gm107_gr_init() local
320 nvkm_wr32(device, GPC_BCAST(0x0880), 0x00000000); in gm107_gr_init()
321 nvkm_wr32(device, GPC_BCAST(0x0890), 0x00000000); in gm107_gr_init()
322 nvkm_wr32(device, GPC_BCAST(0x0894), 0x00000000); in gm107_gr_init()
323 nvkm_wr32(device, GPC_BCAST(0x08b4), nvkm_memory_addr(gr->unk4188b4) >> 8); in gm107_gr_init()
324 nvkm_wr32(device, GPC_BCAST(0x08b8), nvkm_memory_addr(gr->unk4188b8) >> 8); in gm107_gr_init()
330 nvkm_wr32(device, GPC_UNIT(0, 0x3018), 0x00000001); in gm107_gr_init()
343 nvkm_wr32(device, GPC_BCAST(0x0980), data[0]); in gm107_gr_init()
344 nvkm_wr32(device, GPC_BCAST(0x0984), data[1]); in gm107_gr_init()
345 nvkm_wr32(device, GPC_BCAST(0x0988), data[2]); in gm107_gr_init()
346 nvkm_wr32(device, GPC_BCAST(0x098c), data[3]); in gm107_gr_init()
349 nvkm_wr32(device, GPC_UNIT(gpc, 0x0914), in gm107_gr_init()
351 nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 | in gm107_gr_init()
353 nvkm_wr32(device, GPC_UNIT(gpc, 0x0918), magicgpc918); in gm107_gr_init()
356 nvkm_wr32(device, GPC_BCAST(0x3fd4), magicgpc918); in gm107_gr_init()
357 nvkm_wr32(device, GPC_BCAST(0x08ac), nvkm_rd32(device, 0x100800)); in gm107_gr_init()
359 nvkm_wr32(device, 0x400500, 0x00010001); in gm107_gr_init()
361 nvkm_wr32(device, 0x400100, 0xffffffff); in gm107_gr_init()
362 nvkm_wr32(device, 0x40013c, 0xffffffff); in gm107_gr_init()
363 nvkm_wr32(device, 0x400124, 0x00000002); in gm107_gr_init()
364 nvkm_wr32(device, 0x409c24, 0x000e0000); in gm107_gr_init()
366 nvkm_wr32(device, 0x404000, 0xc0000000); in gm107_gr_init()
367 nvkm_wr32(device, 0x404600, 0xc0000000); in gm107_gr_init()
368 nvkm_wr32(device, 0x408030, 0xc0000000); in gm107_gr_init()
369 nvkm_wr32(device, 0x404490, 0xc0000000); in gm107_gr_init()
370 nvkm_wr32(device, 0x406018, 0xc0000000); in gm107_gr_init()
371 nvkm_wr32(device, 0x407020, 0x40000000); in gm107_gr_init()
372 nvkm_wr32(device, 0x405840, 0xc0000000); in gm107_gr_init()
373 nvkm_wr32(device, 0x405844, 0x00ffffff); in gm107_gr_init()
374 nvkm_mask(device, 0x419cc0, 0x00000008, 0x00000008); in gm107_gr_init()
378 nvkm_wr32(device, PPC_UNIT(gpc, ppc, 0x038), 0xc0000000); in gm107_gr_init()
379 nvkm_wr32(device, GPC_UNIT(gpc, 0x0420), 0xc0000000); in gm107_gr_init()
380 nvkm_wr32(device, GPC_UNIT(gpc, 0x0900), 0xc0000000); in gm107_gr_init()
381 nvkm_wr32(device, GPC_UNIT(gpc, 0x1028), 0xc0000000); in gm107_gr_init()
382 nvkm_wr32(device, GPC_UNIT(gpc, 0x0824), 0xc0000000); in gm107_gr_init()
384 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x508), 0xffffffff); in gm107_gr_init()
385 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x50c), 0xffffffff); in gm107_gr_init()
386 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x224), 0xc0000000); in gm107_gr_init()
387 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x48c), 0xc0000000); in gm107_gr_init()
388 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x084), 0xc0000000); in gm107_gr_init()
389 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x430), 0xc0000000); in gm107_gr_init()
390 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x644), 0x00dffffe); in gm107_gr_init()
391 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x64c), 0x00000005); in gm107_gr_init()
393 nvkm_wr32(device, GPC_UNIT(gpc, 0x2c90), 0xffffffff); in gm107_gr_init()
394 nvkm_wr32(device, GPC_UNIT(gpc, 0x2c94), 0xffffffff); in gm107_gr_init()
398 nvkm_wr32(device, ROP_UNIT(rop, 0x144), 0x40000000); in gm107_gr_init()
399 nvkm_wr32(device, ROP_UNIT(rop, 0x070), 0x40000000); in gm107_gr_init()
400 nvkm_wr32(device, ROP_UNIT(rop, 0x204), 0xffffffff); in gm107_gr_init()
401 nvkm_wr32(device, ROP_UNIT(rop, 0x208), 0xffffffff); in gm107_gr_init()
404 nvkm_wr32(device, 0x400108, 0xffffffff); in gm107_gr_init()
405 nvkm_wr32(device, 0x400138, 0xffffffff); in gm107_gr_init()
406 nvkm_wr32(device, 0x400118, 0xffffffff); in gm107_gr_init()
407 nvkm_wr32(device, 0x400130, 0xffffffff); in gm107_gr_init()
408 nvkm_wr32(device, 0x40011c, 0xffffffff); in gm107_gr_init()
409 nvkm_wr32(device, 0x400134, 0xffffffff); in gm107_gr_init()
411 nvkm_wr32(device, 0x400054, 0x2c350f63); in gm107_gr_init()
456 gm107_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) in gm107_gr_new() argument
458 return gf100_gr_new_(&gm107_gr, device, index, pgr); in gm107_gr_new()