summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-10-15 11:39:32 -0700
committerEric Anholt <eric@anholt.net>2009-10-15 12:36:17 -0700
commit38ab403d7a1c461c8ac65a056bee2dd5c7f2f58e (patch)
tree8890cb3f44ac197dfa64242c46ca09c6adc56914 /src/i830_driver.c
parentf171069608bf174d920921fa102b8619794ed272 (diff)
Enable XVMC by default on gen4.
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index ede4344c..867047c0 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1387,7 +1387,8 @@ I830ScreenInit(int scrnIndex, ScreenPtr screen, int argc, char **argv)
xf86DPMSInit(screen, xf86DPMSSet, 0);
#ifdef INTEL_XVMC
- intel->XvMCEnabled = FALSE;
+ if (IS_I965G(intel))
+ intel->XvMCEnabled = TRUE;
from = ((intel->directRenderingType == DRI_DRI2) &&
xf86GetOptValBool(intel->Options, OPTION_XVMC,
&intel->XvMCEnabled) ? X_CONFIG : X_DEFAULT);