summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-06-26 14:22:34 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-07-21 11:02:04 +0800
commiteae16b3b3e46177f882555c15751ff1219701e7c (patch)
treef9e1bb9a44e15d550093b10ea97e1658f28dc4cb
parenta5867a55abca1d16ff57c0e39008e7c7738a724c (diff)
xvmc: enlarge batch buffer size
(cherry picked from commit 550082070a3fdb951e3cf08974dc56276c0a739c)
-rw-r--r--src/i830_hwmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i830_hwmc.c b/src/i830_hwmc.c
index 7586ff71..22fb69e3 100644
--- a/src/i830_hwmc.c
+++ b/src/i830_hwmc.c
@@ -122,9 +122,10 @@ Bool intel_xvmc_screen_init(ScreenPtr pScreen)
Bool intel_xvmc_init_batch(ScrnInfoPtr pScrn)
{
I830Ptr pI830 = I830PTR(pScrn);
+ int size = KB(64);
if (!i830_allocate_xvmc_buffer(pScrn, "[XvMC] batch buffer",
- &(xvmc_driver->batch), 8 * 1024,
+ &(xvmc_driver->batch), size,
ALIGN_BOTH_ENDS))
return FALSE;