summaryrefslogtreecommitdiff
path: root/src/i830_hwmc.c
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2008-06-24 16:43:40 +0800
committerZou Nan hai <nanhai.zou@intel.com>2008-06-24 16:43:40 +0800
commit277632d8c37cf43c7c1178ae7d5a2e6d5705968c (patch)
tree7e51ae501f9ca0d125386a3a40805c8c57ff7382 /src/i830_hwmc.c
parent6b6be2b2a7179c1c9fa12989e16076aae105f4e2 (diff)
965 xvmc, current only frame based DCT_type support
Diffstat (limited to 'src/i830_hwmc.c')
-rw-r--r--src/i830_hwmc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/i830_hwmc.c b/src/i830_hwmc.c
index 7586ff71..b3a3b929 100644
--- a/src/i830_hwmc.c
+++ b/src/i830_hwmc.c
@@ -51,17 +51,14 @@ Bool intel_xvmc_probe(ScrnInfoPtr pScrn)
{
I830Ptr pI830 = I830PTR(pScrn);
Bool ret = FALSE;
-
- if (!pI830->XvMCEnabled)
+ if (!pI830->XvMCEnabled)
return FALSE;
if (IS_I9XX(pI830)) {
if (!IS_I965G(pI830))
ret = intel_xvmc_set_driver(&i915_xvmc_driver);
- /*
else
ret = intel_xvmc_set_driver(&i965_xvmc_driver);
- */
} else {
ErrorF("Your chipset doesn't support XvMC.\n");
return FALSE;
@@ -124,7 +121,7 @@ Bool intel_xvmc_init_batch(ScrnInfoPtr pScrn)
I830Ptr pI830 = I830PTR(pScrn);
if (!i830_allocate_xvmc_buffer(pScrn, "[XvMC] batch buffer",
- &(xvmc_driver->batch), 8 * 1024,
+ &(xvmc_driver->batch), 16 * 1024,
ALIGN_BOTH_ENDS))
return FALSE;