diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-11-22 20:14:49 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-11-28 18:58:08 -0500 |
commit | fb9bff26f11cfa22ae480b54f20d958c89619996 (patch) | |
tree | b6265a46602de9e96d7c4482eeb651e5eacb7ff0 | |
parent | 4a7950140b960694326489ba6c2429fd7830c93b (diff) |
nve0/ppp: enable support via nvc0's implementation
NVIDIA also appear to use the same class on Fermi/Kepler for PPP.
Will allow use of the engine if firmware (nvXX_fuc086) provided.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/device/nve0.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/device/nve0.c b/drivers/gpu/drm/nouveau/core/subdev/device/nve0.c index 2f040007fb3b..9b7881e76634 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/device/nve0.c +++ b/drivers/gpu/drm/nouveau/core/subdev/device/nve0.c | |||
@@ -47,6 +47,7 @@ | |||
47 | #include <engine/copy.h> | 47 | #include <engine/copy.h> |
48 | #include <engine/bsp.h> | 48 | #include <engine/bsp.h> |
49 | #include <engine/vp.h> | 49 | #include <engine/vp.h> |
50 | #include <engine/ppp.h> | ||
50 | 51 | ||
51 | int | 52 | int |
52 | nve0_identify(struct nouveau_device *device) | 53 | nve0_identify(struct nouveau_device *device) |
@@ -78,6 +79,7 @@ nve0_identify(struct nouveau_device *device) | |||
78 | device->oclass[NVDEV_ENGINE_COPY1 ] = &nve0_copy1_oclass; | 79 | device->oclass[NVDEV_ENGINE_COPY1 ] = &nve0_copy1_oclass; |
79 | device->oclass[NVDEV_ENGINE_BSP ] = &nve0_bsp_oclass; | 80 | device->oclass[NVDEV_ENGINE_BSP ] = &nve0_bsp_oclass; |
80 | device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass; | 81 | device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass; |
82 | device->oclass[NVDEV_ENGINE_PPP ] = &nvc0_ppp_oclass; | ||
81 | break; | 83 | break; |
82 | case 0xe7: | 84 | case 0xe7: |
83 | device->cname = "GK107"; | 85 | device->cname = "GK107"; |
@@ -105,6 +107,7 @@ nve0_identify(struct nouveau_device *device) | |||
105 | device->oclass[NVDEV_ENGINE_COPY1 ] = &nve0_copy1_oclass; | 107 | device->oclass[NVDEV_ENGINE_COPY1 ] = &nve0_copy1_oclass; |
106 | device->oclass[NVDEV_ENGINE_BSP ] = &nve0_bsp_oclass; | 108 | device->oclass[NVDEV_ENGINE_BSP ] = &nve0_bsp_oclass; |
107 | device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass; | 109 | device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass; |
110 | device->oclass[NVDEV_ENGINE_PPP ] = &nvc0_ppp_oclass; | ||
108 | break; | 111 | break; |
109 | default: | 112 | default: |
110 | nv_fatal(device, "unknown Kepler chipset\n"); | 113 | nv_fatal(device, "unknown Kepler chipset\n"); |