From 277632d8c37cf43c7c1178ae7d5a2e6d5705968c Mon Sep 17 00:00:00 2001 From: Zou Nan hai Date: Tue, 24 Jun 2008 16:43:40 +0800 Subject: 965 xvmc, current only frame based DCT_type support --- src/i830_hwmc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/i830_hwmc.c') 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; -- cgit v1.2.3