On Fri, 31 Dec 2004 15:49:50 +0100, Jerome Glisse <[EMAIL PROTECTED]> wrote:
> Dave Airlie wrote:
> 
> I was wondering what is going on with drm & fbdev merging ?
> Still planed ? Is the drm-core is a first move in that direction ?

I have two new babies in the house that were born two months
premature. Taking care of them is a full time job for everyone and it
has stopped me from working on the fbdev/drm merge.  Some kind of
fbdev/drm merge is a requirement of getting X on GL working.

drm-core is a required first step of doing the merge. The next step I
did was to add second head support to the fbdev driver. I have this on
my local machine. Adding the second head to fbdev exposed all kinds of
problems in the fbinfo structure since it only assumed a single head.

The fbdev design probably needs some work because it passes the fbinfo
structure (with 500 fields) into the fbconsole. fbconsole uses a few
of these fields but ignores most of them. This design makes it pretty
much impossible to call fbconsole directly from drm since I don't have
an fbinfo structure.

So a decision needs to be made to either a) rework fbinfo into a
device/head(s) model. This will make it's structures align with drm
but it impacts all of the fbdev drivers. fbconsole only needs a subset
of the head structure. b) just add mode setting/cursor support to drm
and ignore fbdev. The code for implementing this would come from
fbdev. This lets me alter the structures without changing fbdev. I
would need to make a drmconsole based off fbconsole that uses the new
structures.

Neither of these are good choices and both involve a lot of political
problems and turf wars. I'm starting to get a little free time now so
I can start looking at these problems again.

-- 
Jon Smirl
[EMAIL PROTECTED]


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to