diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-12-04 09:24:31 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-12-04 09:24:31 +0800 |
commit | 32e7d47925b445a85847d77651b258e117aaaffe (patch) | |
tree | cf442fcafb164d92b8d9c18ec88835a2003e6738 /src/i830_hwmc.c | |
parent | 293f6232c6c0ce12802a2123edfab4551d25e266 (diff) |
Disable XvMC on DRI2 for now
Diffstat (limited to 'src/i830_hwmc.c')
-rw-r--r-- | src/i830_hwmc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/i830_hwmc.c b/src/i830_hwmc.c index cd69a58f..e33a15de 100644 --- a/src/i830_hwmc.c +++ b/src/i830_hwmc.c @@ -52,6 +52,12 @@ Bool intel_xvmc_probe(ScrnInfoPtr pScrn) I830Ptr pI830 = I830PTR(pScrn); Bool ret = FALSE; + /* Disable XvMC on DRI2 for now */ + if (pI830->directRenderingType == DRI_DRI2) { + pI830->XvMCEnabled = FALSE; + return FALSE; + } + if (!pI830->XvMCEnabled) return FALSE; |