New acceleration architecture

Thomas Winischhofer thomas at winischhofer.net
Wed Jun 29 16:07:38 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adam Jackson wrote:
> On Wednesday 29 June 2005 16:29, Thomas Winischhofer wrote:
> 
>>Eric Anholt wrote:
>>
>>>Yep.  In KAA drivers you would save out whatever bits you needed to some
>>>global variable in the Prepare call.  I always thought that was a bit
>>>ugly, but it worked.
>>
>>But please... I very much hope this isn't meant to be this way. Am I
>>supposed to store my pSiS at a global location...? Especially great for
>>dual head...
> 
> 
> Technically you don't need to care about doing it per-screen.  The server's 
> single threaded, you're not going to get your state corrupted between the 
> prepare and body calls.
> 
> Not that that's pretty, or amenable to server rearchitecting.  I'd prefer that 
> the body calls have a pScreen too.

Basically, my concern wasn't saving the accel engine bits somewhere, but
getting a pointer to my command ringbuffer and the MMIO area. Can't do
without my pSiS (where the offset to the current command queue position
is stored)...

Thomas

- --
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net          http://www.winischhofer.net/
twini AT xfree86 DOT org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCwym6zydIRAktyUcRAiZ1AKDYeIwIoT0CzpWxqQ4k0ueQ+jdaSACeOHZ8
CpRX30fp3Q5bEh1Es8CqIVA=
=p9m6
-----END PGP SIGNATURE-----



More information about the xorg mailing list