summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_state.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-04-04 16:08:24 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-05-16 10:48:56 +1000
commita02ccc7f97d9e9121aa641aca33ba2a2978aef31 (patch)
tree6c977171670bc47cd6a55bfe6810461e3fcb8975 /drivers/gpu/drm/nouveau/nouveau_state.c
parentd5a27370b507be810bd32a01fe493adef7ad85d9 (diff)
drm/nv40/vpe: add support for PMPEG
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index 769df653b76..f6c2535e766 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -617,6 +617,9 @@ nouveau_card_init(struct drm_device *dev)
break;
}
+ if (dev_priv->card_type == NV_40)
+ nv40_mpeg_create(dev);
+
if (!nouveau_noaccel) {
for (e = 0; e < NVOBJ_ENGINE_NR; e++) {
if (dev_priv->eng[e]) {