From: Zhao Yakui <[email protected]>

Currently the length of VME MEDIA_OBJECT command on Ivy can't exceed 8 dwords.
If more parameter needs to be passed, the buffer length should be enlarged.

Signed-off-by: Zhao Yakui <[email protected]>
---
 src/gen7_vme.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gen7_vme.c b/src/gen7_vme.c
index e66acb1..8f57e01 100644
--- a/src/gen7_vme.c
+++ b/src/gen7_vme.c
@@ -227,7 +227,7 @@ gen7_vme_output_vme_batchbuffer_setup(VADriverContextP ctx,
     int height_in_mbs = pSequenceParameter->picture_height_in_mbs;
 
     vme_context->vme_batchbuffer.num_blocks = width_in_mbs * height_in_mbs + 1;
-    vme_context->vme_batchbuffer.size_block = 32; /* 2 OWORDs */
+    vme_context->vme_batchbuffer.size_block = 64; /* 4 OWORDs */
     vme_context->vme_batchbuffer.pitch = 16;
     vme_context->vme_batchbuffer.bo = dri_bo_alloc(i965->intel.bufmgr, 
                                                    "VME batchbuffer",
-- 
1.7.10.1

_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to