Lines Matching refs:device
185 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_gr_init_rop_active_fbps() local
186 const u32 fbp_count = nvkm_rd32(device, 0x120074); in gk104_gr_init_rop_active_fbps()
187 nvkm_mask(device, 0x408850, 0x0000000f, fbp_count); /* zrop */ in gk104_gr_init_rop_active_fbps()
188 nvkm_mask(device, 0x408958, 0x0000000f, fbp_count); /* crop */ in gk104_gr_init_rop_active_fbps()
194 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_gr_init_ppc_exceptions() local
201 nvkm_wr32(device, PPC_UNIT(gpc, ppc, 0x038), 0xc0000000); in gk104_gr_init_ppc_exceptions()
209 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_gr_init() local
210 struct nvkm_fb *fb = device->fb; in gk104_gr_init()
217 nvkm_wr32(device, GPC_BCAST(0x0880), 0x00000000); in gk104_gr_init()
218 nvkm_wr32(device, GPC_BCAST(0x08a4), 0x00000000); in gk104_gr_init()
219 nvkm_wr32(device, GPC_BCAST(0x0888), 0x00000000); in gk104_gr_init()
220 nvkm_wr32(device, GPC_BCAST(0x088c), 0x00000000); in gk104_gr_init()
221 nvkm_wr32(device, GPC_BCAST(0x0890), 0x00000000); in gk104_gr_init()
222 nvkm_wr32(device, GPC_BCAST(0x0894), 0x00000000); in gk104_gr_init()
223 nvkm_wr32(device, GPC_BCAST(0x08b4), nvkm_memory_addr(fb->mmu_wr) >> 8); in gk104_gr_init()
224 nvkm_wr32(device, GPC_BCAST(0x08b8), nvkm_memory_addr(fb->mmu_rd) >> 8); in gk104_gr_init()
228 nvkm_wr32(device, GPC_UNIT(0, 0x3018), 0x00000001); in gk104_gr_init()
241 nvkm_wr32(device, GPC_BCAST(0x0980), data[0]); in gk104_gr_init()
242 nvkm_wr32(device, GPC_BCAST(0x0984), data[1]); in gk104_gr_init()
243 nvkm_wr32(device, GPC_BCAST(0x0988), data[2]); in gk104_gr_init()
244 nvkm_wr32(device, GPC_BCAST(0x098c), data[3]); in gk104_gr_init()
247 nvkm_wr32(device, GPC_UNIT(gpc, 0x0914), in gk104_gr_init()
249 nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 | in gk104_gr_init()
251 nvkm_wr32(device, GPC_UNIT(gpc, 0x0918), magicgpc918); in gk104_gr_init()
254 nvkm_wr32(device, GPC_BCAST(0x3fd4), magicgpc918); in gk104_gr_init()
255 nvkm_wr32(device, GPC_BCAST(0x08ac), nvkm_rd32(device, 0x100800)); in gk104_gr_init()
259 nvkm_wr32(device, 0x400500, 0x00010001); in gk104_gr_init()
261 nvkm_wr32(device, 0x400100, 0xffffffff); in gk104_gr_init()
262 nvkm_wr32(device, 0x40013c, 0xffffffff); in gk104_gr_init()
264 nvkm_wr32(device, 0x409ffc, 0x00000000); in gk104_gr_init()
265 nvkm_wr32(device, 0x409c14, 0x00003e3e); in gk104_gr_init()
266 nvkm_wr32(device, 0x409c24, 0x000f0001); in gk104_gr_init()
267 nvkm_wr32(device, 0x404000, 0xc0000000); in gk104_gr_init()
268 nvkm_wr32(device, 0x404600, 0xc0000000); in gk104_gr_init()
269 nvkm_wr32(device, 0x408030, 0xc0000000); in gk104_gr_init()
270 nvkm_wr32(device, 0x404490, 0xc0000000); in gk104_gr_init()
271 nvkm_wr32(device, 0x406018, 0xc0000000); in gk104_gr_init()
272 nvkm_wr32(device, 0x407020, 0x40000000); in gk104_gr_init()
273 nvkm_wr32(device, 0x405840, 0xc0000000); in gk104_gr_init()
274 nvkm_wr32(device, 0x405844, 0x00ffffff); in gk104_gr_init()
275 nvkm_mask(device, 0x419cc0, 0x00000008, 0x00000008); in gk104_gr_init()
276 nvkm_mask(device, 0x419eb4, 0x00001000, 0x00001000); in gk104_gr_init()
281 nvkm_wr32(device, GPC_UNIT(gpc, 0x0420), 0xc0000000); in gk104_gr_init()
282 nvkm_wr32(device, GPC_UNIT(gpc, 0x0900), 0xc0000000); in gk104_gr_init()
283 nvkm_wr32(device, GPC_UNIT(gpc, 0x1028), 0xc0000000); in gk104_gr_init()
284 nvkm_wr32(device, GPC_UNIT(gpc, 0x0824), 0xc0000000); in gk104_gr_init()
286 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x508), 0xffffffff); in gk104_gr_init()
287 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x50c), 0xffffffff); in gk104_gr_init()
288 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x224), 0xc0000000); in gk104_gr_init()
289 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x48c), 0xc0000000); in gk104_gr_init()
290 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x084), 0xc0000000); in gk104_gr_init()
291 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x644), 0x001ffffe); in gk104_gr_init()
292 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x64c), 0x0000000f); in gk104_gr_init()
294 nvkm_wr32(device, GPC_UNIT(gpc, 0x2c90), 0xffffffff); in gk104_gr_init()
295 nvkm_wr32(device, GPC_UNIT(gpc, 0x2c94), 0xffffffff); in gk104_gr_init()
299 nvkm_wr32(device, ROP_UNIT(rop, 0x144), 0xc0000000); in gk104_gr_init()
300 nvkm_wr32(device, ROP_UNIT(rop, 0x070), 0xc0000000); in gk104_gr_init()
301 nvkm_wr32(device, ROP_UNIT(rop, 0x204), 0xffffffff); in gk104_gr_init()
302 nvkm_wr32(device, ROP_UNIT(rop, 0x208), 0xffffffff); in gk104_gr_init()
305 nvkm_wr32(device, 0x400108, 0xffffffff); in gk104_gr_init()
306 nvkm_wr32(device, 0x400138, 0xffffffff); in gk104_gr_init()
307 nvkm_wr32(device, 0x400118, 0xffffffff); in gk104_gr_init()
308 nvkm_wr32(device, 0x400130, 0xffffffff); in gk104_gr_init()
309 nvkm_wr32(device, 0x40011c, 0xffffffff); in gk104_gr_init()
310 nvkm_wr32(device, 0x400134, 0xffffffff); in gk104_gr_init()
312 nvkm_wr32(device, 0x400054, 0x34ce3464); in gk104_gr_init()
360 gk104_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) in gk104_gr_new() argument
362 return gf100_gr_new_(&gk104_gr, device, index, pgr); in gk104_gr_new()