--- Dave Airlie <[EMAIL PROTECTED]> wrote:
> > I can extract the code from Xfree for doing everything I need from user
> > space and I can add this code into the mesa linux-solo project without a
> > lot of hassle.
>
> Are you going to get solo so it doesn't require an fb device? if so that
> is defintely something I for one would like to see.. solo has made my life
> a hell of a lot easier :-)
That's my plan, a solo that runs without fb.
I originally started out using the fb driver, but it became more pain than it
was worth. When X runs it just ignores the fb driver and makes sure to not stomp
it's memory. That's a lot different than calling into the driver and leaving it
active. A root problem is memory management.
So for the next attempt I tried pulling various pieces of code out of fb and
integrating them into DRM. This failed too because the fb code is not
implementing a lot of features that X exposes. I started fixing things but I
decided it was too much trouble.
My current code takes the X free version of things and moves it into the DRM
driver. I have this more or less working but I still need to do some more debug
on it. The main features I need to add to the driver are reset, multi-head mode
support, merged fb support. The heads need to support moving the display buffer
around in memory. None of these features exist in fb.
Mode setting implies that I have to be able to read the DDC data from both heads
to build the mode database. Again I tried lifting the mode code out of FB. I
discovered that it takes about 100K of code to handle DDC. The FB code is also
missing things X needs so I'm in the middle of pulling out the FB code and
switching to the Xfree version. I'm also kicking all of this code into user
space since it has no real need to be in kernel space.
With those capabilities in DRM I can work on other mesa solo problems like
fixing pbuffer support. For example I know the Radeon DRM driver is broken for
running pbuffers.
Once I get the things outlined above working 100% I'm going to stop making
changes to DRM. When the above work is complete it is a simple matter to pull
the remaining pieces of fb implementing console support into the DRM driver and
have a complete replacement. But doing this gives everyone a heart attack so I'm
not going to do it.
=====
Jon Smirl
[EMAIL PROTECTED]
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel