Re: Native mode handling

Benjamin Herrenschmidt <[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <1069727452.705.300.camel@gaston>
On Tue, 2003-11-25 at 07:17, Jon Smirl wrote:
> Is anyone else working on native mode handling? I've spent about three weeks now
> breaking native mode handling for the Radeon out from Xfree and turning it into
> a standalone library. Modes are hugely complicated and the code is no where near
> finished. Radeon almost works but a lot of de-Xfree'ing of the code is needed.
> 
> My plan is to build separately compilable layers that build on each other.
> 
> 1) Kernel DRM driver
> 2) Framework based on Xfree 2D driver minus the PCI bus and 2D drawing code.
> This includes all of the mode code. There are two libraries, one board specific,
> one common (DDC, I2C). Layer 1 is used to find the hardware.
> 3) The existing standalone Mesa driver. Modified to use layer 2.
> 4) xserver modified to use the GL API.
> 
> A goal of layer 2 is to make it reusable by other projects.

I'm interested in helping out there. I haven't had time to draft
a driver API proposal that I discussed with Keith last week though
but what you are doing may just fit well in that direction.

We should though separate, I think, the monitor detect & mode setting
code from the 2D accel. And we need to figure out a good way to
arbitrate the HW access between all those entities (2D accel, 3D pipe
and mode changes/updates).

Ben.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.