[Intel-gfx] xf86-video-intel: src/i830.h src/i830_hwmc.c src/i830_memory.c src/i915_hwmc.c

Xiang, Haihao haihao.xiang at intel.com
Mon Jul 27 03:58:23 CEST 2009


On Sat, 2009-07-25 at 00:44 +0800, Jesse Barnes wrote:
> On Thu, 23 Jul 2009 19:46:41 -0700 (PDT)
> haihao at kemper.freedesktop.org (Haihao Xiang) wrote:
> 
> >  src/i830.h        |    1 +
> >  src/i830_hwmc.c   |    2 +-
> >  src/i830_memory.c |   26 ++++++++++++++++++++++++--
> >  src/i915_hwmc.c   |   20 ++++++++++----------
> >  4 files changed, 36 insertions(+), 13 deletions(-)
> > 
> > New commits:
> > commit 7dc95b4f1dfecbeb7e9f4a0c35fda32d020be8fe
> > Author: Xiang, Haihao <haihao.xiang at intel.com>
> > Date:   Fri Jul 24 10:39:05 2009 +0800
> > 
> >     XvMC: pin XvMC buffers under KMS.
> >     
> >     Under KMS, the buffer allocated by i830_allocate_memory
> >     isn't pinned anymore. However currently 915 XvMC needs
> >     static offsets.
> >     
> >     Fixes bug #22872
> 
> Pinning is a privileged operation, is there some other way of fixing
> XvMC so that you don't need to pin?
> 
Allocate XvMC surfaces in XvMC library other than in DDX driver. 

However 915/915GM requires physical address for XvMC surfaces (although
XvMC is disabled on 915/915GM under KMS, it is enabled under UMS),
currently DRM/GEM can't handle physical address which means we have to
use legacy way for 915/915GM (and I dislike using two paths for XvMC
surfaces in XvMC library).






More information about the Intel-gfx mailing list