Lines Matching refs:ustatus
240 nv50_gr_prop_trap(struct nv50_gr *gr, u32 ustatus_addr, u32 ustatus, u32 tp) in nv50_gr_prop_trap() argument
254 if (ustatus & 0x00000080) { in nv50_gr_prop_trap()
269 ustatus &= ~0x00000080; in nv50_gr_prop_trap()
271 if (ustatus) { in nv50_gr_prop_trap()
272 nvkm_snprintbf(msg, sizeof(msg), nv50_gr_trap_prop, ustatus); in nv50_gr_prop_trap()
275 tp, ustatus, msg, e14, e10); in nv50_gr_prop_trap()
334 u32 ustatus_addr, ustatus; in nv50_gr_tp_trap() local
342 ustatus = nvkm_rd32(device, ustatus_addr) & 0x7fffffff; in nv50_gr_tp_trap()
343 if (!ustatus) in nv50_gr_tp_trap()
353 if (ustatus) { in nv50_gr_tp_trap()
355 nv50_tex_traps, ustatus); in nv50_gr_tp_trap()
358 name, i, ustatus, msg); in nv50_gr_tp_trap()
359 ustatus = 0; in nv50_gr_tp_trap()
364 if (ustatus & 0x04030000) { in nv50_gr_tp_trap()
366 ustatus &= ~0x04030000; in nv50_gr_tp_trap()
368 if (ustatus && display) { in nv50_gr_tp_trap()
370 nv50_mpc_traps, ustatus); in nv50_gr_tp_trap()
372 name, i, ustatus, msg); in nv50_gr_tp_trap()
373 ustatus = 0; in nv50_gr_tp_trap()
379 gr, ustatus_addr, ustatus, i); in nv50_gr_tp_trap()
380 ustatus = 0; in nv50_gr_tp_trap()
383 if (ustatus) { in nv50_gr_tp_trap()
385 nvkm_error(subdev, "%s - TP%d: Unhandled ustatus %08x\n", name, i, ustatus); in nv50_gr_tp_trap()
401 u32 ustatus; in nv50_gr_trap_handler() local
413 ustatus = nvkm_rd32(device, 0x400804) & 0x7fffffff; in nv50_gr_trap_handler()
414 if (!ustatus && display) { in nv50_gr_trap_handler()
421 if (ustatus & 0x00000001) { in nv50_gr_trap_handler()
446 ustatus &= ~0x00000001; in nv50_gr_trap_handler()
449 if (ustatus & 0x00000002) { in nv50_gr_trap_handler()
469 ustatus &= ~0x00000002; in nv50_gr_trap_handler()
472 if (ustatus && display) { in nv50_gr_trap_handler()
474 "(unknown %08x)\n", ustatus); in nv50_gr_trap_handler()
486 u32 ustatus = nvkm_rd32(device, 0x406800) & 0x7fffffff; in nv50_gr_trap_handler() local
489 nv50_gr_trap_m2mf, ustatus); in nv50_gr_trap_handler()
491 ustatus, msg); in nv50_gr_trap_handler()
509 u32 ustatus = nvkm_rd32(device, 0x400c04) & 0x7fffffff; in nv50_gr_trap_handler() local
512 nv50_gr_trap_vfetch, ustatus); in nv50_gr_trap_handler()
514 ustatus, msg); in nv50_gr_trap_handler()
529 ustatus = nvkm_rd32(device, 0x401800) & 0x7fffffff; in nv50_gr_trap_handler()
532 nv50_gr_trap_strmout, ustatus); in nv50_gr_trap_handler()
534 ustatus, msg); in nv50_gr_trap_handler()
552 ustatus = nvkm_rd32(device, 0x405018) & 0x7fffffff; in nv50_gr_trap_handler()
555 nv50_gr_trap_ccache, ustatus); in nv50_gr_trap_handler()
557 ustatus, msg); in nv50_gr_trap_handler()
578 ustatus = nvkm_rd32(device, 0x402000) & 0x7fffffff; in nv50_gr_trap_handler()
580 nvkm_error(subdev, "TRAP_UNKC04 %08x\n", ustatus); in nv50_gr_trap_handler()