summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_context.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2013-07-02 17:33:41 -0400
committerMaarten Lankhorst <[email protected]>2013-08-15 15:15:12 +0200
commitee3ca3614ee55ed42bd8f78c62b7eaabb2a0fbe2 (patch)
tree1f896e0bb9a75ff481bd38f600463b4e771f53da /src/gallium/drivers/nv30/nv30_context.c
parent6010c683d054d75ae2afca48c8c894f0129a9e0f (diff)
nv30: hook up PMPEG support via nouveau_video, enables XvMC to work
Force the format to be the reasonable format that doesn't require an inverse z-scan. Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.c b/src/gallium/drivers/nv30/nv30_context.c
index bd05042ca22..e872c027ae3 100644
--- a/src/gallium/drivers/nv30/nv30_context.c
+++ b/src/gallium/drivers/nv30/nv30_context.c
@@ -257,5 +257,7 @@ nv30_context_create(struct pipe_screen *pscreen, void *priv)
return NULL;
}
+ nouveau_context_init_vdec(&nv30->base);
+
return pipe;
}