diff options
author | Ben Skeggs | 2012-11-22 06:48:41 +0100 |
---|---|---|
committer | Ben Skeggs | 2012-11-29 00:58:06 +0100 |
commit | a7416d0d8a0348b5b472fe148293b9efe7ad4fed (patch) | |
tree | b33c64bc58a19684aead2bd9426b75ded8a6ee14 /drivers/gpu/drm/nouveau/core/engine/fifo | |
parent | drm/nve0/bsp: implement initial support for engine (diff) | |
download | kernel-qcow2-linux-a7416d0d8a0348b5b472fe148293b9efe7ad4fed.tar.gz kernel-qcow2-linux-a7416d0d8a0348b5b472fe148293b9efe7ad4fed.tar.xz kernel-qcow2-linux-a7416d0d8a0348b5b472fe148293b9efe7ad4fed.zip |
drm/nve0/vp: implement initial support for engine
Will allow use of the engine if firmware (nvXX_fuc085) provided.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/fifo')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c b/drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c index 35abb29c5ad6..63d42cd3e349 100644 --- a/drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c +++ b/drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c @@ -139,6 +139,7 @@ nve0_fifo_context_attach(struct nouveau_object *parent, case NVDEV_ENGINE_COPY0: case NVDEV_ENGINE_COPY1: addr = 0x0210; break; case NVDEV_ENGINE_BSP : addr = 0x0270; break; + case NVDEV_ENGINE_VP : addr = 0x0250; break; default: return -EINVAL; } @@ -174,6 +175,7 @@ nve0_fifo_context_detach(struct nouveau_object *parent, bool suspend, case NVDEV_ENGINE_COPY0: case NVDEV_ENGINE_COPY1: addr = 0x0210; break; case NVDEV_ENGINE_BSP : addr = 0x0270; break; + case NVDEV_ENGINE_VP : addr = 0x0250; break; default: return -EINVAL; } |