copy: don't bother trying to create copy on pre-nva3
PATCH 1/1 copy: don't bother trying to create copy on pre-nva3
Only the NVA3/5/8/F tesla chips have a copy engine. Don't bother trying to create one on earlier tesla chips (and thus printing an error on failure).
--- src/nouveau_copy.c | 4 ++++ 1 file changed, 4 insertions(+)
src/nouveau_copy.c +4 -0
@@ -61,6 +61,10 @@ nouveau_copy_init(ScreenPtr pScreen)switch (pNv->Architecture) {case NV_TESLA : +if (pNv->dev->chipset <0xa3 || + pNv->dev->chipset ==0xaa || + pNv->dev->chipset ==0xac ) +return FALSE; data = &(struct nv04_fifo ) { .vram = NvDmaFB, .gart = NvDmaTT,
Signature · 1 line
1.8.5.5