>This seems like an odd solution.  Why wouldn't you just enable
>multiple  drivers to attach to the device?

Nah, that would cause endless issues. Especially since we actually want
some synchronisation/locking between the two, at least ultimately.
 
> > Can everyone please try this patch out and see if loading radeonfb
> > causes any problems on your system. Having radeonfb loaded on x86 is
> > not a normal case. Radeon Xegl is going to depend on having both
> > radeon and radeonfb loaded so I need to know if this will cause
> > problems.
> 
> Last time I tried it, the console went blank (except for the cursor) 
> somewhere 
> during runlevel 3 bringup, so I rebooted blind and went back to a kernel 
> without radeonfb.

This is a known issue with radeonfb used "alone" without enabling
framebuffer console. It wipes out the VGA font. I'll have a fix for
that, but heh, it was only notified to me recently, why didn't you send
me a bug report when you had this problem ? :)

> ~ % ls /sbin/setsysfont
> ls: /sbin/setsysfont: No such file or directory
> 
> Where do I get this utility, and when can I expect this fix in a stable 
> kernel?

Anyway, I really want a slightly different approach than what Jon is
doing, that is a 3 modules scenario:

 - A basic "stub" module that attaches to the PCI card. It doesn't touch
the hardware per-se (thus won't break your VGA console, though radeonfb
without fb console shouldn't either, the problem you have is a bug).
That stub contains the "common" code like IRQ handling, card type
detection, maybe vram detection etc... And some locking facility

 - Depending on the above, an optional "fbdev" module that provides the
fbdev interface & mode setting

 - Depending on the first one too, but independant from the "fbdev" one,
the DRM module providing the radeon DRM kernel interface

Ben.




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to