Xati frees with drm
Eric Anholt
eta at lclark.edu
Sun May 16 14:35:07 PDT 2004
On Sun, 2004-05-16 at 12:06, Peter Karlsson wrote:
> --- Xavier Bestel <xavier.bestel at free.fr> wrote:
> >Le sam 15/05/2004 à 23:35, Eric Anholt a écrit :
> >> There's a massive Xati update, with proper Radeon and Rage 128 Composite
> >> acceleration probably, in the works. And it doesn't require the DRM.
> >> Give me a little bit.
>
> I was just wondering what the plans are for hardware acceleration when it comes to 2D and 3D; will dri/drm still be a part of this? Or will there be another solution?
>
> This is (also?) a bit off-topic but does anyone know anything about the possibilities/capabilities of using the gpu's of today in more general purpose calculations, particularly when it comes to X/linux. I get the impression that, since X-developers rarely have good documentation for the hardware, there is restricted access to the gpu under X. Or is this unrelated? See www.gpgpu.org for more info...
>
> Best regards
>
> Peter Karlsson, confused...
Please fix your mailer to wrap at 72 columns.
What I've done is converted all drawing code in Xati to preparation of
DMA packets. The driver sets up the card for pseudo-dma mode if the DRM
is not available. In pseudo-dma mode, DMA packets are dispatched
through an MMIO aperture. If pdma can't be set up for some reason, I've
got a function that decodes basic DMA packets into MMIO writes.
Although PDMA is slower than plain old MMIO I bet, this saves us
duplicate drawing code, and allows use of the 3d hardware, which is a
major win. The Rage 128 render acceleration seems pretty good, and I'm
trying to figure out what the deal is with the Radeon code right now.
I've got textured XV support on Rage 128, and the R100 is almost there.
I don't plan on finishing 3d acceleration in kdrive at this point. I've
still got to clean up the rest of my kaa diffs to start getting this
stuff into xorg, before I'd even have time for that.
The general discussions of "graphics of the future" and what GPUs mean
for that aren't really relevant to me. When we've got specs, I'll do
what I can with them (component-alpha render acceleration, especially),
but until then I don't care much.
--
Eric Anholt eta at lclark.edu
http://people.freebsd.org/~anholt/ anholt at FreeBSD.org
More information about the xserver
mailing list