summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv50/nv98_video.c
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2013-12-06 23:30:04 -0500
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>2013-12-09 15:11:20 +0100
commite01ba9d6b049d5eee8c125e3ec43b4539c26e4d7 (patch)
tree3c218429faad4b25454bceeecc5d3486e61d90c8 /src/gallium/drivers/nouveau/nv50/nv98_video.c
parente796fa22d44fa345bfe0cd779cff88f247bc17b6 (diff)
downloadexternal_mesa3d-e01ba9d6b049d5eee8c125e3ec43b4539c26e4d7.zip
external_mesa3d-e01ba9d6b049d5eee8c125e3ec43b4539c26e4d7.tar.gz
external_mesa3d-e01ba9d6b049d5eee8c125e3ec43b4539c26e4d7.tar.bz2
nv50: enable h264 and mpeg4 for nv98+ (vp3, vp4.0)
Create the ref_bo without any storage type flags set for now. The issue probably arises from our use of the additional buffer space at the end of the ref_bo. It should probably be split up in the future. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Tested-by: Martin Peres <martin.peres@labri.fr> Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv98_video.c')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv98_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv98_video.c b/src/gallium/drivers/nouveau/nv50/nv98_video.c
index 069481d..f748c81 100644
--- a/src/gallium/drivers/nouveau/nv50/nv98_video.c
+++ b/src/gallium/drivers/nouveau/nv50/nv98_video.c
@@ -200,7 +200,7 @@ nv98_create_decoder(struct pipe_context *context,
dec->ref_stride = mb(templ->width)*16 * (mb_half(templ->height)*32 + nouveau_vp3_video_align(templ->height)/2);
ret = nouveau_bo_new(screen->device, NOUVEAU_BO_VRAM, 0,
dec->ref_stride * (templ->max_references+2) + tmp_size,
- &cfg, &dec->ref_bo);
+ NULL, &dec->ref_bo);
if (ret)
goto fail;