From: Leigh Brown <hidden> Date: 2002-06-02 10:38:01
On Sat, 2002-06-01 at 09:39, Geert Uytterhoeven wrote:
On Sat, 1 Jun 2002, Paul Mackerras wrote:
quoted
I wrote:
quoted
Does anyone know why we have this? Is the S3 Trio display really only
used on PReP or CHRP machines, not on any PCs?
I should have said, not on any other PPC systems, of course, since
that code was in a CONFIG_PPC section.
S3triofb relies on Open Firmware, so it can work on PowerMac/CHRP only. AFAIK
it was used on CHRP only.
Well, S3triofb hasn't even compiled for ages. I've attached a patch
that allows it to compile, and removes the dependency on OF. However,
it still requires some sort of firmware to initialise the card. I've
added a little hack so that it ignores the card if it wasn't initialised
by the firmware, since the driver doesn't have the code to initialise it
properly.
It works on the 7043-140 using a PReP kernel, and has been tested by
quite a few people. Unfortunately, I no longer have an S3Trio card (and
to be honest, I know very little about graphics cards).
IMHO it's worth applying the patch as a working (just) driver is a
better starting point than a non-compiling one.
If there are other PPC systems that bring up the S3Trio in 640x480x8
mode then I suppose the driver will be applicable to them also....
Cheers,
Leigh.
On Sat, 2002-06-01 at 09:39, Geert Uytterhoeven wrote:
quoted
On Sat, 1 Jun 2002, Paul Mackerras wrote:
quoted
I wrote:
quoted
Does anyone know why we have this? Is the S3 Trio display really only
used on PReP or CHRP machines, not on any PCs?
I should have said, not on any other PPC systems, of course, since
that code was in a CONFIG_PPC section.
S3triofb relies on Open Firmware, so it can work on PowerMac/CHRP only. AFAIK
it was used on CHRP only.
Well, S3triofb hasn't even compiled for ages. I've attached a patch
that allows it to compile, and removes the dependency on OF. However,
it still requires some sort of firmware to initialise the card. I've
added a little hack so that it ignores the card if it wasn't initialised
by the firmware, since the driver doesn't have the code to initialise it
properly.
It works on the 7043-140 using a PReP kernel, and has been tested by
quite a few people. Unfortunately, I no longer have an S3Trio card (and
to be honest, I know very little about graphics cards).
IMHO it's worth applying the patch as a working (just) driver is a
better starting point than a non-compiling one.
Yes, that's better. Thanks!
If there are other PPC systems that bring up the S3Trio in 640x480x8
mode then I suppose the driver will be applicable to them also....
Peter: does OF initialize your board to 640x480, or is a different resolution
possible as well?
OF on my LongTrail (Peter's is newer) never did anything with a Trio64.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On Sun, Jun 02, 2002 at 11:38:01AM +0100, Leigh Brown wrote:
On Sat, 2002-06-01 at 09:39, Geert Uytterhoeven wrote:
quoted
On Sat, 1 Jun 2002, Paul Mackerras wrote:
quoted
I wrote:
quoted
Does anyone know why we have this? Is the S3 Trio display really only
used on PReP or CHRP machines, not on any PCs?
I should have said, not on any other PPC systems, of course, since
that code was in a CONFIG_PPC section.
S3triofb relies on Open Firmware, so it can work on PowerMac/CHRP only. AFAIK
it was used on CHRP only.
Well, S3triofb hasn't even compiled for ages. I've attached a patch
that allows it to compile, and removes the dependency on OF. However,
it still requires some sort of firmware to initialise the card. I've
added a little hack so that it ignores the card if it wasn't initialised
by the firmware, since the driver doesn't have the code to initialise it
properly.
Okay, I've applied this patch and done a bit more work so that it
_might_ work as a module. Geert, who should all of this goto in the end
since it doesn't seem like this driver has had an active maintainer for
a while..
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On Sun, Jun 02, 2002 at 11:38:01AM +0100, Leigh Brown wrote:
quoted
On Sat, 2002-06-01 at 09:39, Geert Uytterhoeven wrote:
quoted
On Sat, 1 Jun 2002, Paul Mackerras wrote:
quoted
I wrote:
quoted
Does anyone know why we have this? Is the S3 Trio display really only
used on PReP or CHRP machines, not on any PCs?
I should have said, not on any other PPC systems, of course, since
that code was in a CONFIG_PPC section.
S3triofb relies on Open Firmware, so it can work on PowerMac/CHRP only. AFAIK
it was used on CHRP only.
Well, S3triofb hasn't even compiled for ages. I've attached a patch
that allows it to compile, and removes the dependency on OF. However,
it still requires some sort of firmware to initialise the card. I've
added a little hack so that it ignores the card if it wasn't initialised
by the firmware, since the driver doesn't have the code to initialise it
properly.
Okay, I've applied this patch and done a bit more work so that it
_might_ work as a module. Geert, who should all of this goto in the end
since it doesn't seem like this driver has had an active maintainer for
a while..
Originally the driver was written by Peter De Schrijver, but he seems to have
been very silent last week.
Since it's PPC related, I think the `generic PPC pusher' can take care of it.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
From: Jeff Garzik <hidden> Date: 2002-06-05 14:20:14
Here's some code people can play with, too:
http://gtf.org/garzik/kernel/files/s3fb/
There is a cyberfb attempt to get working on PCI (ppc, x86, ...) and
also an attempt to get a brand new s3fb going for PCI. Both need
debugging :( but in theory one could replace S3triofb
Jeff
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/