From 989ec9e8a69f909cb64f17e4465982613b4b054d Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Fri, 27 Jun 2008 09:39:02 +0800 Subject: xvmc: Don't copy on xvmc surface in PutImage As xvmc rendering result has already been in fb, we shouldn't do extra copy on it. Although special care is required for i915 xvmc surface pitch alignment, which must be at least 1KB aligned. So video display function should take it into acount instead of always setting Y pitch to be double of U/V pitch. --- src/i830_hwmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/i830_hwmc.c') diff --git a/src/i830_hwmc.c b/src/i830_hwmc.c index 22fb69e3..787d93da 100644 --- a/src/i830_hwmc.c +++ b/src/i830_hwmc.c @@ -56,7 +56,7 @@ Bool intel_xvmc_probe(ScrnInfoPtr pScrn) return FALSE; if (IS_I9XX(pI830)) { - if (!IS_I965G(pI830)) + if (IS_I915(pI830)) ret = intel_xvmc_set_driver(&i915_xvmc_driver); /* else -- cgit v1.2.3