On Wed, 2004-02-25 at 04:15, Otto Solares wrote:
4. Memory mappings.
We can currently map the vmem and io regions in userspace. It
current exists problems with highmem but in short it simply works
for dumb chips or programable chips so specialized libs (like
mesa-solo) can do a decent job.
I hope Mesa-solo doesn't bang the chip directly, does it? That would
mean root only.
And while we're brainstorming... :)
I'm not sure being able to map the whole video RAM is a good idea in the
long run either; at some point we probably need a centralized memory
manager, and I think ideally it should map the allocated regions
separately (which could allow for moving them between video RAM, GART
and system RAM transparently, e.g.) and only allow to use them for
acceleration by opaque handles (via the DRM or whatever). This would be
quite a lot of stuff in the kernel, but I'm not sure it can be done
safely in user space...
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer