diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-11-22 00:54:46 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-11-28 18:58:06 -0500 |
commit | f3295b3c99016dfaf8a38f9090e0c30db8bbbc0c (patch) | |
tree | 33e1bb838538f9c5fd5634993301aed796f6858a | |
parent | a7416d0d8a0348b5b472fe148293b9efe7ad4fed (diff) |
drm/nve0/fifo: allow for future binding of ppp contexts
No support for the class yet, but will be pulled in with Maarten's Fermi
vdec patches. The Kepler PPP class is identical.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-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 63d42cd3e349..1dcbe25e7af6 100644 --- a/drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c +++ b/drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c | |||
@@ -140,6 +140,7 @@ nve0_fifo_context_attach(struct nouveau_object *parent, | |||
140 | case NVDEV_ENGINE_COPY1: addr = 0x0210; break; | 140 | case NVDEV_ENGINE_COPY1: addr = 0x0210; break; |
141 | case NVDEV_ENGINE_BSP : addr = 0x0270; break; | 141 | case NVDEV_ENGINE_BSP : addr = 0x0270; break; |
142 | case NVDEV_ENGINE_VP : addr = 0x0250; break; | 142 | case NVDEV_ENGINE_VP : addr = 0x0250; break; |
143 | case NVDEV_ENGINE_PPP : addr = 0x0260; break; | ||
143 | default: | 144 | default: |
144 | return -EINVAL; | 145 | return -EINVAL; |
145 | } | 146 | } |
@@ -176,6 +177,7 @@ nve0_fifo_context_detach(struct nouveau_object *parent, bool suspend, | |||
176 | case NVDEV_ENGINE_COPY1: addr = 0x0210; break; | 177 | case NVDEV_ENGINE_COPY1: addr = 0x0210; break; |
177 | case NVDEV_ENGINE_BSP : addr = 0x0270; break; | 178 | case NVDEV_ENGINE_BSP : addr = 0x0270; break; |
178 | case NVDEV_ENGINE_VP : addr = 0x0250; break; | 179 | case NVDEV_ENGINE_VP : addr = 0x0250; break; |
180 | case NVDEV_ENGINE_PPP : addr = 0x0260; break; | ||
179 | default: | 181 | default: |
180 | return -EINVAL; | 182 | return -EINVAL; |
181 | } | 183 | } |