summaryrefslogtreecommitdiff
path: root/nvkm/subdev/mc
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/mc
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/mc')
-rw-r--r--nvkm/subdev/mc/nv98.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nvkm/subdev/mc/nv98.c b/nvkm/subdev/mc/nv98.c
index 0d57b4d3e..06710419a 100644
--- a/nvkm/subdev/mc/nv98.c
+++ b/nvkm/subdev/mc/nv98.c
@@ -35,6 +35,7 @@ nv98_mc_intr[] = {
{ 0x00001000, NVDEV_ENGINE_GR },
{ 0x00004000, NVDEV_ENGINE_CRYPT }, /* NV84:NVA3 */
{ 0x00008000, NVDEV_ENGINE_BSP },
+ { 0x00020000, NVDEV_ENGINE_VP },
{ 0x00080000, NVDEV_SUBDEV_THERM }, /* NVA3:NVC0 */
{ 0x00100000, NVDEV_SUBDEV_TIMER },
{ 0x00200000, NVDEV_SUBDEV_GPIO },
@@ -42,7 +43,7 @@ nv98_mc_intr[] = {
{ 0x04000000, NVDEV_ENGINE_DISP },
{ 0x10000000, NVDEV_SUBDEV_BUS },
{ 0x80000000, NVDEV_ENGINE_SW },
- { 0x0040d101, NVDEV_SUBDEV_FB },
+ { 0x0042d101, NVDEV_SUBDEV_FB },
{},
};