[Intel-gfx] [PATCH] Add XV support on IGDNG

Zhenyu Wang zhenyuw at linux.intel.com
Tue Jun 30 03:06:50 CEST 2009


On 2009.06.29 15:16:25 -0400, Kristian Høgsberg wrote:
> On Mon, Jun 29, 2009 at 4:50 AM, Zhenyu Wang<zhenyuw at linux.intel.com> wrote:
> > This brings necessary change for IGDNG for texture video support
> > from 2D render code.
> >
> > Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
> 
> Doesn't this patch miss the g4a assembler files?
> 

Oh, this depends on the 2D render support patch for IGDNG.
The g4a files already included, we don't use packed_yuv_* file now 
(I should remove them in another patch), but exa_wm_src_sample_* for packed
and planar video surface.

> > ---
> >  src/i965_video.c |  195 ++++++++++++++++++++++++++++++++++++++++-------------
> >  1 files changed, 147 insertions(+), 48 deletions(-)
> >
> > diff --git a/src/i965_video.c b/src/i965_video.c
> > index d459027..5a13815 100644
> > --- a/src/i965_video.c
> > +++ b/src/i965_video.c
> > @@ -790,7 +857,7 @@ i965_emit_video_setup(ScrnInfoPtr pScrn, drm_intel_bo *bind_bo, int n_src_surf)
> >     OUT_BATCH(0); /* clip */
> >     OUT_BATCH(0); /* sf */
> >     /* Only the PS uses the binding table */
> > -    OUT_RELOC(bind_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 0);
> > +    OUT_RELOC(bind_bo, I915_GEM_DOMAIN_SAMPLER, 0, 0);
> >
> >     /* Blend constant color (magenta is fun) */
> >     OUT_BATCH(BRW_3DSTATE_CONSTANT_COLOR | 3);
> 
> This is a separate bug fix, right?
> 

yeah, I can separate it to another patch. 

thanks.

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090630/2d133bb1/attachment.sig>


More information about the Intel-gfx mailing list