From: Olaf Hering <olh@suse.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: "Daniël Mantione" <daniel@deadlock.et.tudelft.nl>,
"Marcelo Tosatti" <marcelo.tosatti@cyclades.com.br>,
"Linux Kernel Development" <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.4.23-pre4: failed at atyfb_base.c
Date: Mon, 15 Sep 2003 23:04:21 +0200 [thread overview]
Message-ID: <20030915210421.GA311@suse.de> (raw)
In-Reply-To: <Pine.GSO.4.21.0309131622000.2634-100000@vervain.sonytel.be>
pre4 doesnt work on my ibook1, the xclk value is 125, but should be 50.
Linux version 2.4.20 (2.4.20-ben8@PowerPC.suse.de) (gcc version 3.2.2 20030314 (prerelease) (SuSE Linux)) #2 Tue Mar 18 17:19:27 UTC 2003
atyfb: using auxiliary register aperture
atyfb: 3D RAGE Mobility (AGP) [0x4c4e rev 0x64] 4M WRAM, 14.31818 MHz XTAL, 230 MHz PLL, 50 Mhz MCLK
Registered "ati" backlight controller, level: 15/15
atyfb: monitor sense=0, mode 20
Console: switching to colour frame buffer device 100x37
fb0: ATY Mach64 frame buffer device on PCI
Linux version 2.4.23-pre4-ibook1 (builds@ibook) (gcc version 3.2.3 (SuSE Linux)) #6 Mon Sep 15 21:54:16 CEST 2003
atyfb: using auxiliary register aperture
atyfb: 3D RAGE Mobility (AGP) [0x4c4e rev 0x64] 4M WRAM, 14.31818 MHz XTAL, 230 MHz PLL, 83 Mhz MCLK, 125 Mhz XCLK
atyfb: monitor sense=0, mode 20
Console: switching to colour frame buffer device 100x37
fb0: ATY Mach64 frame buffer device on PCI
mango:~ # lspci
00:0b.0 Host bridge: Apple Computer Inc. UniNorth AGP
00:10.0 VGA compatible controller: ATI Technologies Inc Rage Mobility L AGP 2x (rev 64)
10:0b.0 Host bridge: Apple Computer Inc. UniNorth PCI
10:17.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 02)
10:18.0 USB Controller: Apple Computer Inc. KeyLargo USB
10:19.0 USB Controller: Apple Computer Inc. KeyLargo USB
20:0b.0 Host bridge: Apple Computer Inc. UniNorth Internal PCI
20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth GMAC (Sun GEM)
mango:~ # lspci -n
00:0b.0 Class 0600: 106b:0020
00:10.0 Class 0300: 1002:4c4e (rev 64)
10:0b.0 Class 0600: 106b:001f
10:17.0 Class ff00: 106b:0022 (rev 02)
10:18.0 Class 0c03: 106b:0019
10:19.0 Class 0c03: 106b:0019
20:0b.0 Class 0600: 106b:001e
20:0f.0 Class 0200: 106b:0021
(==) ATI(0): Chipset: "ati".
(==) ATI(0): Depth 16, (==) framebuffer bpp 16
(II) ATI(0): BIOS Data: BIOSSize=0x0000, ROMTable=0x0000.
(II) ATI(0): BIOS Data: ClockTable=0x0000, FrequencyTable=0x0000.
(II) ATI(0): BIOS Data: LCDTable=0x0000, LCDPanelInfo=0x0000.
(II) ATI(0): BIOS Data: VideoTable=0x0000, HardwareTable=0x0000.
(II) ATI(0): BIOS Data: I2CType=0x00, Tuner=0x00, Decoder=0x00, Audio=0x0F.
(--) ATI(0): ATI 3D Rage Mobility graphics controller detected.
(--) ATI(0): Chip type 4C4E "LN", version 4, foundry TSMC, class 0, revision 0x01.
(--) ATI(0): AGP bus interface detected.
(--) ATI(0): ATI Mach64 adapter detected.
(!!) ATI(0): For information on using the multimedia capabilities
of this adapter, please see http://gatos.sf.net.
(--) ATI(0): Internal RAMDAC (subtype 1) detected.
(==) ATI(0): RGB weight 565
(==) ATI(0): Default visual is TrueColor
(==) ATI(0): Using gamma correction (1.0, 1.0, 1.0)
(II) ATI(0): Using Mach64 accelerator CRTC.
(--) ATI(0): 800x600 panel detected.
(--) ATI(0): Panel clock is 39.952 MHz.
(II) ATI(0): Using digital flat panel interface.
(II) ATI(0): Storing hardware cursor image at 0x913FFC00.
(II) ATI(0): Using 8 MB linear aperture at 0x91800000.
(!!) ATI(0): Virtual resolutions will be limited to 4095 kB
due to linear aperture size and/or placement of hardware cursor image area.
(II) ATI(0): Using Block 0 MMIO aperture at 0x90000400.
(II) ATI(0): Using Block 1 MMIO aperture at 0x90000000.
(II) ATI(0): MMIO write caching enabled.
(--) ATI(0): 4096 kB of SGRAM (2:1) 32-bit detected (using 4095 kB).
(WW) ATI(0): Cannot shadow an accelerated frame buffer.
(II) ATI(0): Engine XCLK 49.883 MHz; Refresh rate code 2.
(--) ATI(0): Internal programmable clock generator detected.
(--) ATI(0): Reference clock 157.5/11 (14.318) MHz.
(II) ATI(0): Maximum clock: 199.00 MHz
this patch fixes it:
--- ../../linux-2.4.23-pre4/drivers/video/aty/atyfb_base.c 2003-09-13 15:31:31.000000000 +0200
+++ ./drivers/video/aty/atyfb_base.c 2003-09-15 22:53:12.000000000 +0200
@@ -376,7 +376,7 @@ static struct {
/* 3D RAGE Mobility */
{ 0x4c4d, 0x4c4d, 0x00, 0x00, m64n_mob_p, 230, 83, 125, M64F_GT | M64F_INTEGRATED | M64F_RESET_3D | M64F_GTB_DSP | M64F_MOBIL_BUS | M64F_EXTRA_BRIGHT},
- { 0x4c4e, 0x4c4e, 0x00, 0x00, m64n_mob_a, 230, 83, 125, M64F_GT | M64F_INTEGRATED | M64F_RESET_3D | M64F_GTB_DSP | M64F_MOBIL_BUS | M64F_EXTRA_BRIGHT},
+ { 0x4c4e, 0x4c4e, 0x00, 0x00, m64n_mob_a, 230, 83, 50, M64F_GT | M64F_INTEGRATED | M64F_RESET_3D | M64F_GTB_DSP | M64F_MOBIL_BUS | M64F_EXTRA_BRIGHT},
#endif /* CONFIG_FB_ATY_CT */
};
atyfb: using auxiliary register aperture
atyfb: 3D RAGE Mobility (AGP) [0x4c4e rev 0x64] 4M WRAM, 14.31818 MHz XTAL, 230 MHz PLL, 83 Mhz MCLK, 50 Mhz XCLK
atyfb: monitor sense=0, mode 20
Console: switching to colour frame buffer device 100x37
fb0: ATY Mach64 frame buffer device on PCI
why do you think 125 is correct for this card?
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
next prev parent reply other threads:[~2003-09-15 21:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-12 19:48 Linux 2.4.23-pre4 Marcelo Tosatti
2003-09-12 21:44 ` aa VM updates merged was: " Mike Fedyk
2003-09-13 12:44 ` Linux 2.4.23-pre4: failed at atyfb_base.c Eyal Lebedinsky
2003-09-13 14:39 ` Geert Uytterhoeven
2003-09-13 17:52 ` Daniël Mantione
2003-09-14 8:44 ` Geert Uytterhoeven
2003-09-13 19:16 ` Marcelo Tosatti
2003-09-15 21:04 ` Olaf Hering [this message]
2003-09-15 21:19 ` Daniël Mantione
2003-09-15 21:28 ` Daniël Mantione
2003-09-15 21:34 ` Olaf Hering
2003-09-15 21:44 ` Daniël Mantione
2003-09-13 21:39 ` Linux 2.4.23-pre4 Willy Tarreau
2003-09-14 11:34 ` Linux 2.4.23-pre4 => NFSD problem on alpha Willy Tarreau
2003-09-14 11:48 ` Neil Brown
2003-09-14 12:15 ` Willy Tarreau
2003-09-14 16:55 ` Chris Kloiber
2003-09-14 21:28 ` Willy Tarreau
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=20030915210421.GA311@suse.de \
--to=olh@suse.de \
--cc=daniel@deadlock.et.tudelft.nl \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com.br \
/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