summaryrefslogtreecommitdiff
path: root/src/i830_video.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2007-07-23 10:35:32 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2007-07-23 10:35:32 +0800
commitc4deefa80a6349db968e25bd6778cdf7a514ca7f (patch)
tree18dcaca262c5626fccb96312c9d7e70c52fe81d0 /src/i830_video.c
parenta52c53b8603495ab05e07e3da5092fe122fcb6f2 (diff)
only enable xvmc for 915/945/G33
Diffstat (limited to 'src/i830_video.c')
-rw-r--r--src/i830_video.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/i830_video.c b/src/i830_video.c
index a74634fa..4ee9f761 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -605,8 +605,11 @@ I830InitVideo(ScreenPtr pScreen)
#ifdef XF86DRI
#ifdef XvMCExtension
- if (IS_I9XX(pI830))
+ if (IS_I915G(pI830) || IS_I915GM(pI830) ||
+ IS_I945G(pI830) || IS_I945GM(pI830) ||
+ IS_G33CLASS(pI830)) {
I915XvMCInitXv(pScrn, texturedAdaptor);
+ }
#endif
#endif
} else {