[Intel-gfx] [PATCH] Enable XvMC by default

Zhenyu Wang zhenyuw at linux.intel.com
Mon Sep 28 12:35:58 CEST 2009


Don't require to explicitly enable it in xorg.conf, which is
not practical now, but still can be disabled if wanted.

Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
---
 src/i830_driver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/i830_driver.c b/src/i830_driver.c
index 316a1fa..4be4617 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -2764,7 +2764,7 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
    xf86DPMSInit(pScreen, xf86DPMSSet, 0);
 
 #ifdef INTEL_XVMC
-    pI830->XvMCEnabled = FALSE;
+    pI830->XvMCEnabled = TRUE;
     from = ((pI830->directRenderingType == DRI_DRI2) &&
             xf86GetOptValBool(pI830->Options, OPTION_XVMC,
                               &pI830->XvMCEnabled) ? X_CONFIG : X_DEFAULT);
-- 
1.5.3.8




More information about the Intel-gfx mailing list