[Xorg] R100/R200 render acceleration

Eric Anholt eta at lclark.edu
Thu Jun 17 15:32:09 PDT 2004


On Thu, 2004-06-17 at 06:01, Alex Deucher wrote:
> On Thu, 17 Jun 2004 03:00:15 -0700, Eric Anholt <eta at lclark.edu> wrote:
> > 
> > http://freedesktop.org/bugzilla/show_bug.cgi?id=748
> > 
> > Attached to that bug is a patch for Render acceleration on R100 and
> > R200.  I'm running the R200 stuff on my desktop, and R100 seems just as
> > good in the little testing I've done.  I'd appreciate if adventurous
> > folks could try the patch and report any issues in that bug, so we don't
> > get any surprises when it's committed.  Note that it's only enabled when
> > the DRI is working.
> 
> Just curious, was there a problem with the MMIO code paths for render
> accel?  ati's original drop supported both CP and MMIO accel so it
> would work even when the dri was disabled.  Admittedly, I haven't
> gotten a chance to test either patch yet.

ATI's original code drop, at least the version I got, didn't work.  It
didn't compile out of the box, and the !AlphaTexture paths were
disabled.  The vertex submission for the AlphaTexture appeared wrong --
a Z coord (I assume, it was 1.0f) was being included without accounting
for it in BEGIN_ACCEL() or RADEON_SE_VTX_FORMAT.  My patch was based on
that patch originally, and you can see the MMIO vertex submission still
there for the !ACCEL_CP case that's disabled.  I'd love to see the MMIO
version work, but it's not a high priority for me.

-- 
Eric Anholt                                eta at lclark.edu          
http://people.freebsd.org/~anholt/         anholt at FreeBSD.org






More information about the xorg mailing list