Thread (91 messages) 91 messages, 12 authors, 2004-05-07

Re: Mobility M1 refresh code problem 2.4.26?

From: Mikael Eriksson <hidden>
Date: 2004-05-06 19:57:23

Richard Smith wrote:
I'm trying to get the Mobility M1 atyfb in 2.4.26 to work on Dell 
Latitude CPx.
I have the same laptop over here, and it works perfectly with 2.4.26.

dmesg:
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: Samsung LT141X4-156
         id=2, 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

.config:
CONFIG_FB_ATY=y
# CONFIG_FB_ATY_GX is not set
CONFIG_FB_ATY_CT=y
CONFIG_FB_ATY_GENERIC_LCD=y
# CONFIG_FB_ATY128 is not set

boot-param:
video=atyfb:1024x768-32
If I boot he laptop with a CRT connected and run X windows everything 
works.  The x windows log reports its using a refresh rate code of 12

Compile atyfb without generic LCD support.

If I load atyfb the screen is almost there but lots of the text is 
messed up.  Line spacing seems correct but the actual text is 
unreadable.  Like a clock is off or something

If I now load the X windows driver (Still using ATI driver and not FB) 
the same type issues apears on the graphics.  It's almost there but some 
pixels appear to be mssing or in the wrong spot.

The X log now is pretty much identical but says that its useing a 
refresh rate code of 7.  XCLK and reference clocks are the same.

If I boot under the LCD and run X I get refresh rate of 12
When I load atyfb the LCD blanks out. But if I "modprobe atyfb;startx"
I get the same wiggy screen as under an CRT and again a refresh code of
7.

If I enable the Generic LCD support and load atyfb the LCD now displays 
data but has the same problem as the CRT and againg a refresh rate code 
of 7 if I run X and similar issues as the CRT setup yet the wiggyness is 
different.  Still mostly recognizeable though.

Where does atyfb calculate what it need to to set the refresh rate code 
and any idea why it might be doing it incorrectly on this laptop?

Its my understanding that the atyfb tree in 2.4 currently has the best 
M1 support and not 2.6.x.  If not then can someone point me to where I 
can find the latest patch for 2.6




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help