search for: nv03_pgraph_nsource_dma_vtx_protect

Displaying 1 result from an estimated 1 matches for "nv03_pgraph_nsource_dma_vtx_protect".

2010 Jan 16
1
[PATCH] drm/nouveau: Acknowledge DMA_VTX_PROTECTION PGRAPH interrupts
...q.c +++ b/drivers/gpu/drm/nouveau/nouveau_irq.c @@ -483,9 +483,16 @@ nouveau_pgraph_intr_error(struct drm_device *dev, uint32_t nsource) if (nsource & NV03_PGRAPH_NSOURCE_ILLEGAL_MTHD) { if (nouveau_pgraph_intr_swmthd(dev, &trap)) unhandled = 1; - } else { + } else if(nsource & NV03_PGRAPH_NSOURCE_DMA_VTX_PROTECTION) { + uint32_t v = nv_rd32(dev, 0x402000); + nv_wr32(dev, 0x402000, v); + + /* dump the error anyway for now: it's useful for + Gallium development */ unhandled = 1; } + else + unhandled = 1; if (unhandled && nouveau_ratelimit()) nouveau_graph_dump_trap_info(dev, &...