Ilia Mirkin
2014-Sep-04 19:27 UTC
[Nouveau] [PATCH] 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).
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/nouveau_copy.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/nouveau_copy.c b/src/nouveau_copy.c
index f46f0c3..3202121 100644
--- a/src/nouveau_copy.c
+++ b/src/nouveau_copy.c
@@ -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,
--
1.8.5.5
Maybe Matching Threads
- [PATCH xf86-video-nouveau] Add Pascal family support, identical to Maxwell
- [PATCH xf86-video-nouveau v2] Add Pascal family support, identical to Maxwell
- [PATCH v2 6/7] copy: add maxwell/pascal copy engine classes
- [PATCH v2 1/7] exa: add GM10x acceleration support
- [PATCH] exa: add GM10x acceleration support
