All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniël Mantione" <daniel@deadlock.et.tudelft.nl>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Claas Langbehn <claas@rootdir.de>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.0: atyfb broken
Date: Fri, 2 Jan 2004 16:36:39 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.44.0401021621160.15125-100000@deadlock.et.tudelft.nl> (raw)
In-Reply-To: <Pine.GSO.4.58.0401021341010.3062@waterleaf.sonytel.be>



On Fri, 2 Jan 2004, Geert Uytterhoeven wrote:

> > with 2.4.23 it does not work either.
> >
> > dmesg says:
> >
> > atyfb: using auxiliary register aperture
> > atyfb: Mach64 BIOS is located at c0000, mapped at c00c0000.
> > atyfb: BIOS contains driver information table.
> > atyfb: colour active matrix monitor detected: CPT CLAA141XB01
> >         id=10, 1024x768 pixels, 262144 colours (LT mode)
> >         supports 60 Hz refresh rates, default 60 Hz
> >         LCD CRTC parameters: 15384 167 127 130 0 17 805 767 769 6
> > atyfb: 3D RAGE Mobility (PCI) [0x4c4d rev 0x64] 8M SDRAM, 29.498928 MHz XTAL,
> >        230 MHz PLL, 83 Mhz MCLK, 125 Mhz XCLK
> > Console: switching to colour frame buffer device 80x25
> > fb0: ATY Mach64 frame buffer device on PCI
> >
> >
> > When booting the screen gets slowly flooded with white.
> > X11 works anyway.
> >
> > dmesg's output shows different MCLK and XCLK with kernel 2.4.23
> > (see above).
>
> Does it work with 2.4.22 and earlier? Mobility support was changed a lot in
> 2.4.23.

Did this laptop work before? My first guess is no. Both 2.4.22 and 2.6.0
do not support LCD displays.

2.4.23 does, and is the only kernel that does have a chance of working.

In case 2.4.22 did work (possible since 720x400 VGA text mode is
converted in hardware to 640x400, and therefore very similar to 640x480
in timings), it will work very badly, the image is most likely not
correct and any attempt to switch video mode will fail.

The mclk/xclk settings in 2.4.23 are the correct default clock
frequencies (checked with ATi). Other kernel versions use
timings for an Apple Powerbook, which, because the open firmware
initializes a correct startup video mode and PowerPC specific code that
prevents switching to 640x480 will work with the original driver.
This Apple laptop is detected in 2.4.23 and still gets the original
frequencies.

Anyway, the frequencies are correct for your laptop, if the display is
fading white it means the graphics chip is operating correctly but
provide wrong video mode timings to your LCD display.

Daniël


  reply	other threads:[~2004-01-02 15:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-30 21:26 2.6.0: atyfb broken Claas Langbehn
2003-12-31  4:06 ` Andrew Morton
2003-12-31  4:33   ` Benjamin Herrenschmidt
2004-01-05 23:33     ` James Simmons
2004-01-05 23:44       ` Benjamin Herrenschmidt
2004-03-29 15:45       ` Benjamin Herrenschmidt
2004-03-29 15:45     ` James Simmons
2004-01-01 18:55 ` Geert Uytterhoeven
2004-01-01 21:53   ` Claas Langbehn
2004-01-02 12:44     ` Geert Uytterhoeven
2004-01-02 15:36       ` Daniël Mantione [this message]
2004-01-03 23:37         ` Claas Langbehn
2004-01-04  0:27           ` Daniël Mantione
2004-01-04  0:52             ` Claas Langbehn
2004-01-04  9:40               ` Daniël Mantione
     [not found]               ` <Pine.LNX.4.44.0401041040480.28807-402000@deadlock.et.tudelft.nl>
     [not found]                 ` <20040104110941.GA983@rootdir.de>
     [not found]                   ` <20040104121019.GB1073@rootdir.de>
2004-01-04 16:35                     ` Claas Langbehn
2004-01-05 22:32 ` James Simmons
2004-01-06 18:16   ` Ralf Hildebrandt
2004-01-07  1:01     ` James Simmons

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.0401021621160.15125-100000@deadlock.et.tudelft.nl \
    --to=daniel@deadlock.et.tudelft.nl \
    --cc=claas@rootdir.de \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.