From: "Daniël Mantione" <daniel@deadlock.et.tudelft.nl>
To: Olaf Hering <olh@suse.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
Marcelo Tosatti <marcelo.tosatti@cyclades.com>,
Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] atyfb updates
Date: Tue, 21 Oct 2003 22:31:24 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.44.0310212230340.30060-200000@deadlock.et.tudelft.nl> (raw)
In-Reply-To: <20031021201958.GA11113@suse.de>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 522 bytes --]
On Tue, 21 Oct 2003, Olaf Hering wrote:
> On Fri, Oct 10, Daniël Mantione wrote:
>
> >
> >
> > On Fri, 10 Oct 2003, Geert Uytterhoeven wrote:
> >
> > > This one is still needed to get atyfb compiled when Mach64 GX support is
> > > enabled.
> >
> > Ok, go ahead! We'll also need to get that Mach64 LT fifo width set to 24
> > bit and the Powerbook special detection applied.
>
> This patch is still missing, ibook1 doesnt work (unless I missed a patch
> to fix it).
It's attached again.
Daniël
[-- Attachment #2: Type: TEXT/PLAIN, Size: 1993 bytes --]
diff -urN linux-2.4.22-bk22/drivers/video/aty/atyfb_base.c linux-2.4.22-bk22.fixed/drivers/video/aty/atyfb_base.c
--- linux-2.4.22-bk22/drivers/video/aty/atyfb_base.c Fri Sep 19 19:52:32 2003
+++ linux-2.4.22-bk22.fixed/drivers/video/aty/atyfb_base.c Fri Sep 19 19:56:23 2003
@@ -323,7 +323,8 @@
It's also often a good idea to contact ATi.
Lastly, third party board vendors might use different memory clocks
- than ATi. No examples of this have been found yet, but it is possible.
+ than ATi. An example of this is the Apple iBook1 which is handled specially
+ in aty_init.
(Daniel Mantione, 26 June 2003)
*/
@@ -356,7 +357,7 @@
/* Mach64 LT */
{ 0x4c54, 0x4c54, 0x00, 0x00, m64n_lt, 135, 63, 63, M64F_GT | M64F_INTEGRATED | M64F_GTB_DSP },
- { 0x4c47, 0x4c47, 0x00, 0x00, m64n_ltg, 230, 63, 63, M64F_GT | M64F_INTEGRATED | M64F_GTB_DSP | M64F_SDRAM_MAGIC_PLL | M64F_EXTRA_BRIGHT | M64F_LT_SLEEP | M64F_G3_PB_1024x768 },
+ { 0x4c47, 0x4c47, 0x00, 0x00, m64n_ltg, 230, 63, 63, M64F_GT | M64F_INTEGRATED | M64F_GTB_DSP | M64F_SDRAM_MAGIC_PLL | M64F_EXTRA_BRIGHT | M64F_LT_SLEEP | M64F_G3_PB_1024x768 | M64F_FIFO_24 },
/* Mach64 GTC (3D RAGE PRO) */
{ 0x4742, 0x4742, 0x00, 0x00, m64n_gtc_ba, 230, 100, 100, M64F_GT | M64F_INTEGRATED | M64F_RESET_3D | M64F_GTB_DSP | M64F_SDRAM_MAGIC_PLL | M64F_EXTRA_BRIGHT },
@@ -2075,6 +2076,14 @@
ramname = aty_ct_ram[info->ram_type];
info->dac_ops = &aty_dac_ct;
info->pll_ops = &aty_pll_ct;
+#ifdef CONFIG_ALL_PPC
+ /* The Apple iBook1 uses non-standard memory frequencies. We detect it
+ and set the frequency manually. */
+ if ((type==0x4c4e) && machine_is_compatible("PowerBook2,1")) {
+ mclk=70;
+ xclk=53;
+ };
+#endif
/*
* I disable the hack below because it is completely unreliable.
* DRAM at 67 is very well imaginable. If a chip is indeed clocked
next prev parent reply other threads:[~2003-10-21 20:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-10 16:05 [PATCH] atyfb updates Geert Uytterhoeven
2003-10-10 19:12 ` Daniël Mantione
2003-10-21 20:19 ` Olaf Hering
2003-10-21 20:31 ` Daniël Mantione [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-23 5:54 Geert Uytterhoeven
2003-09-23 6:59 ` Daniël Mantione
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0310212230340.30060-200000@deadlock.et.tudelft.nl \
--to=daniel@deadlock.et.tudelft.nl \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
--cc=olh@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).