summaryrefslogtreecommitdiff
path: root/nvkm/subdev/vm
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2013-07-28 22:30:06 -0400
committerBen Skeggs <bskeggs@redhat.com>2013-08-21 11:34:46 +1000
commite3ff9cfdcf4adee7f70eacac27a1c3b9d3756c76 (patch)
treef65fcf2ef02b0e9025d12a34d724554f0bc25cd8 /nvkm/subdev/vm
parent280999e164bb2d03c8cd035455c821c053b21f58 (diff)
downloadnouveau-e3ff9cfdcf4adee7f70eacac27a1c3b9d3756c76.tar.gz
vdec: implement support for VP3 engines
For NV98+, BSP/VP/PPP are all FUC-based engines. Hook them all up in the same way as NVC0, but with a couple of different values. Also make sure that the PPP engine is handled in the fifo/mc/vm. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/subdev/vm')
-rw-r--r--nvkm/subdev/vm/nv50.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nvkm/subdev/vm/nv50.c b/nvkm/subdev/vm/nv50.c
index 07dd1fe2d..a4aa81a21 100644
--- a/nvkm/subdev/vm/nv50.c
+++ b/nvkm/subdev/vm/nv50.c
@@ -174,6 +174,7 @@ nv50_vm_flush(struct nouveau_vm *vm)
case NVDEV_ENGINE_GR : vme = 0x00; break;
case NVDEV_ENGINE_VP : vme = 0x01; break;
case NVDEV_SUBDEV_BAR : vme = 0x06; break;
+ case NVDEV_ENGINE_PPP :
case NVDEV_ENGINE_MPEG : vme = 0x08; break;
case NVDEV_ENGINE_BSP : vme = 0x09; break;
case NVDEV_ENGINE_CRYPT: vme = 0x0a; break;