Xorg 7.0-rc1 and EXA (radeon 9200)

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Oct 26 15:12:16 PDT 2005


> I talked to Ben about this before and I suggested he just save the
> current surface registers, use them and restore them, X is currently
> taking the DRM lock so its not as if anyone else can do anything...

I want to avoid having to save them, due to the cost of reading
registers.

But yes, that would work, I could probably save once when taking the DRM
lock and restore when losing it. Even easier: The kernel could
auto-restore surfaces when switching "out" the lock from a client with
register access. That way, no need to save.

That would give you both the allocator mecanism for pure clients and
direct access to all surfaces for the server.

Ben.







More information about the xorg mailing list