From c4deefa80a6349db968e25bd6778cdf7a514ca7f Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Mon, 23 Jul 2007 10:35:32 +0800 Subject: only enable xvmc for 915/945/G33 --- src/i830_video.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/i830_video.c') 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 { -- cgit v1.2.3