summaryrefslogtreecommitdiff
path: root/src/i830_hwmc.c
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2009-03-25 16:11:33 +0800
committerZou Nan hai <nanhai.zou@intel.com>2009-03-25 16:11:33 +0800
commitebcb64fdc8a45105f529d5e15c335514ecaf1a05 (patch)
tree525859e69f1206cbd4658f8616a74fb4df6cfdb6 /src/i830_hwmc.c
parente6af995b24767815ab30364385768867e80605c2 (diff)
XvMC VLD extension support for G4X
Diffstat (limited to 'src/i830_hwmc.c')
-rw-r--r--src/i830_hwmc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_hwmc.c b/src/i830_hwmc.c
index e33a15de..7360c364 100644
--- a/src/i830_hwmc.c
+++ b/src/i830_hwmc.c
@@ -64,6 +64,8 @@ Bool intel_xvmc_probe(ScrnInfoPtr pScrn)
if (IS_I9XX(pI830)) {
if (IS_I915(pI830))
ret = intel_xvmc_set_driver(&i915_xvmc_driver);
+ else if (IS_G4X(pI830))
+ ret = intel_xvmc_set_driver(&vld_xvmc_driver);
else
ret = intel_xvmc_set_driver(&i965_xvmc_driver);
} else {