Is there the possibility to support EXA for legacy S3 chips?

Ville Syrjälä syrjala at sci.fi
Thu May 28 02:02:49 PDT 2009


On Thu, May 28, 2009 at 12:00:26PM +0400, Evgeny M. Zubok wrote:
> Ville Syrjälä <syrjala at sci.fi> writes:
> 
> > Why wouldn't it work if you just allocate everything using the same
> > pitch? Or does the allocator make some assumptions about the pitches
> > the hardware can handle?
> 
> The allocator make the assumption that hardware is able to copy
> offscreen pixmaps with any pitch and with any offset (only alignment can
> be varied). There is no way to ask EXA always to allocate offscreen
> pixmaps with fixed pitch. This option would be possible to implement
> (something like pEXA->offscreenPitch = ...) but the modern and not so
> modern hardware doesn't need it. Who cared about the ancient S3? :)

Just set the alignment to your fixed pitch value and it should work,
shouldn't it?

-- 
Ville Syrjälä
syrjala at sci.fi
http://www.sci.fi/~syrjala/



More information about the xorg mailing list