linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fb and multiple adapters
@ 2002-12-28  0:39 Jon Smirl
  2003-01-03 10:22 ` Antonino Daplas
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Smirl @ 2002-12-28  0:39 UTC (permalink / raw)
  To: fbdev

I'm looking into running framebuffers on multiple
video adapters. My current setup has an ATI AGP Radeon
9000 as the primary adapter and a ATI PCI Rage128 as
the secondary. 

The Rage128 driver won't load in this config. So the
first thing I did was to add my board's id to it, PD.
Now I'm at the point where the expansion ROM isn't
enabled and the adapter isn't initialized.

Should I add code to aty128fb to enable the ROM and
execute the initialization code (like X does)? What
the overall policy towards framebuffers initializing
secondary adapters? 

=====
Jon Smirl
jonsmirl@yahoo.com

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: fb and multiple adapters
  2002-12-28  0:39 fb and multiple adapters Jon Smirl
@ 2003-01-03 10:22 ` Antonino Daplas
  2003-01-03 16:24   ` Jon Smirl
  0 siblings, 1 reply; 3+ messages in thread
From: Antonino Daplas @ 2003-01-03 10:22 UTC (permalink / raw)
  To: Jon Smirl; +Cc: Linux Fbdev development list

On Sat, 2002-12-28 at 08:39, Jon Smirl wrote:
> I'm looking into running framebuffers on multiple
> video adapters. My current setup has an ATI AGP Radeon
> 9000 as the primary adapter and a ATI PCI Rage128 as
> the secondary. 
> 
> The Rage128 driver won't load in this config. So the
> first thing I did was to add my board's id to it, PD.
> Now I'm at the point where the expansion ROM isn't
> enabled and the adapter isn't initialized.
> 
> Should I add code to aty128fb to enable the ROM and
> execute the initialization code (like X does)? What
> the overall policy towards framebuffers initializing
> secondary adapters? 
> 

No policy really.  However, doing that will involve setting up a "real
mode" (bit 16) environment to intercept BIOS int10 calls which are
necessary to initialize the graphics ROM.

If I need too, I usually do this the hard way, I let X initialize the
secondary card, exit X, then load the framebuffer driver module.

Tony




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: fb and multiple adapters
  2003-01-03 10:22 ` Antonino Daplas
@ 2003-01-03 16:24   ` Jon Smirl
  0 siblings, 0 replies; 3+ messages in thread
From: Jon Smirl @ 2003-01-03 16:24 UTC (permalink / raw)
  To: Antonino Daplas; +Cc: Linux Fbdev development list

--- Antonino Daplas <adaplas@pol.net> wrote:
> If I need too, I usually do this the hard way, I let
> X initialize the
> secondary card, exit X, then load the framebuffer
> driver module.

Alan Cox told me that it is almost impossible to run
the real mode initialization code from inside the
kernel.  Instead he pointed me to lrmi which is a
small app that can do it from the command line. I'm
looking into mod'ing lrmi so that it can coordinate
with the device driver and reset the secondary adapter
instead of the primary one.

=====
Jon Smirl
jonsmirl@yahoo.com

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-03 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-28  0:39 fb and multiple adapters Jon Smirl
2003-01-03 10:22 ` Antonino Daplas
2003-01-03 16:24   ` Jon Smirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).