Intel - XVideo

Lukas Hejtmanek xhejtman at ics.muni.cz
Thu Jun 14 01:30:33 PDT 2007


On Wed, Jun 13, 2007 at 04:41:21PM -0700, Eric Anholt wrote:
> I'd forgotten about that code.  It was quite broken, so I had gone with
> planar to packed conversion to just get something working.  I've fixed
> up the planar path now, which should help with XV performance issues on
> this hardware.

Well, I saw the commit. However, for i965 there is still planar to packed
copy. Is this limitation of i965 hw or the code is not just ready for i965?

> Since we're doing the entire YUV -> RGB conversion in our pixel shader,
> we certainly could.  Nobody has bothered yet.

OK, I see. However, I have no idea how to change brightness when packed format
is used - it seems that internal matrix is used. Am I right?

> 1) requires the DRI to avoid spinning, so we'll just have tearing if you
> can't do DRI.
> 2) requires i830, i855, or 915+ to do it from the command stream.  To
> fix that, we might be able to use the scanline window wait, or I guess
> use the DRM to wait for a vblank synchronously before emitting our draw.
> 
> My work in progress patch for this is at
> git://people.freedesktop.org/~anholt/xf86-video-intel in the t-v-vblank
> branch.  Right now it crashes the 945GM I've been testing on.  If
> someone wanted to track this down, it would be great.

what exactly means i830, i855 or 915+ ? Does it mean that it does not work
only on i845 and i865?

I will take a look at the patches.

-- 
Lukáš Hejtmánek



More information about the xorg mailing list