Displaying 2 results from an estimated 2 matches for "xvmc_pmpeg".
2013 Jul 29
0
[PATCH 2/2] nv50: allow forcing PMPEG use, for ease of testing
...0/nv50_context.c
@@ -258,7 +258,7 @@ nv50_create(struct pipe_screen *pscreen, void *priv)
draw_set_rasterize_stage(nv50->draw, nv50_draw_render_stage(nv50));
#endif
- if (screen->base.device->chipset < 0x84) {
+ if (screen->base.device->chipset < 0x84 || getenv("XVMC_PMPEG")) {
/* PMPEG */
nouveau_context_init_vdec(&nv50->base);
} else if (screen->base.device->chipset < 0x98 ||
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index 2951eb4..959366e 100644
--- a/src/gallium/drivers/nv50...
2013 Jul 29
2
[PATCH 1/2] nv30: hook up PMPEG support via nouveau_video, enables XvMC to work
It seems as though at least the NV44 expects the same format as VP2
does. But NV96 expects the format as currently done.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/drivers/nouveau/nouveau_video.c | 43 +++++++++++++++++++++++++----
src/gallium/drivers/nouveau/nouveau_video.h | 2 ++
src/gallium/drivers/nv30/nv30_context.c | 2 ++