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

Kristian Høgsberg krh at bitplanet.net
Mon Jun 29 21:16:25 CEST 2009


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?

> ---
>  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?

cheers,
Kristian



More information about the Intel-gfx mailing list