only enable xvmc for 915/945/G33
This commit is contained in:
parent
a52c53b860
commit
c4deefa80a
|
|
@ -2722,7 +2722,10 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
|
|||
}
|
||||
|
||||
#ifdef XvMCExtension
|
||||
if (pI830->XvEnabled && (pI830->directRenderingEnabled) && IS_I9XX(pI830)) {
|
||||
if (pI830->XvEnabled && (pI830->directRenderingEnabled) &&
|
||||
(IS_I915G(pI830) || IS_I915GM(pI830) ||
|
||||
IS_I945G(pI830) || IS_I945GM(pI830) ||
|
||||
IS_G33CLASS(pI830))) {
|
||||
I915InitMC(pScreen);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue