xf86-video-intel: unexpected phenomenon on XV texture adapter with no scaling

Krzysztof Halasa khc at pm.waw.pl
Mon Jun 22 12:58:35 PDT 2009


Krzysztof Halasa <khc at pm.waw.pl> writes:

> It seems that the fix to i915 is:
>
> diff --git a/src/i915_video.c b/src/i915_video.c
> index 1ef58ac..3b4247c 100644
> --- a/src/i915_video.c
> +++ b/src/i915_video.c
> @@ -136,8 +136,8 @@ I915DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id,
>        format = COLR_BUF_ARGB8888 | DEPTH_FRMT_24_FIXED_8_OTHER;
>  
>     OUT_BATCH(LOD_PRECLAMP_OGL |
> -	     DSTORG_HORT_BIAS(0x80) |
> -	     DSTORG_VERT_BIAS(0x80) |
> +	     DSTORG_HORT_BIAS(0x8) |
> +	     DSTORG_VERT_BIAS(0x8) |
>  	     format);
>  
>     /* front buffer, pitch, offset */
>

I think it's safe to commit. Seems like a simple mistake, those fields
in that variable seem to be 4-bits wide. Fixes the problem.
-- 
Krzysztof Halasa



More information about the xorg mailing list