From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Kronos <kronos@kronoz.cjb.net>
Cc: Jon Smirl <jonsmirl@yahoo.com>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: Re: New radeonfb, mostly untested
Date: Wed, 10 Sep 2003 18:48:26 +0200 [thread overview]
Message-ID: <1063212505.642.77.camel@gaston> (raw)
In-Reply-To: <20030910164101.GA437@dreamland.darkstar.lan>
> It fails only if compiled as module. I see that fb_find_mode (and
> my_atoi) are marked as __init. Maybe they get discarded after boot and
> when radeonfb module tries to call them it ends up in deallocated
> memory...
Exactly, they should definitely not be marked __init
> When booting with radeonfb compiled in the screen is shifted on the
> left. At 1024x768 it is shifted by 2 characters:
>
> hStart = 1048, hEnd = 1184, hTotal = 1344
> vStart = 771, vEnd = 777, vTotal = 806
> h_total_disp = 0x7f00a7 hsync_strt_wid = 0x910422
> v_total_disp = 0x2ff0325 vsync_strt_wid = 0x860302
> pixclock = 15384
> freq = 6500
> post div = 0x4
> fb_div = 0x74
> ppll_div_3 = 0x20074
> Console: switching to colour frame buffer device 128x48
>
> At 1280x768 (native res of my LCD - now it works) it is shifted by 3
> chars:
>
> Detailed Monitor Information
> 108 MHz 1280 1328 1440 1688 1024 1025 1028 1066 +HSync +VSync
>
> Serial No : HD 001699
> Monitor Name : Philips 170S4
> HorizSync : 30-82 KHz
> VertRefresh : 56-76 Hz
> Max Pixelclock: 140 MHz
> ========================================
> ATI Radeon NE 9700 R300 SDR SGRAM 128 MB
> hStart = 1359, hEnd = 1496, hTotal = 1713
> vStart = 1025, vEnd = 1028, vTotal = 1060
> h_total_disp = 0x9f00d5 hsync_strt_wid = 0x910559
> v_total_disp = 0x3ff0423 vsync_strt_wid = 0x830400
> pixclock = 9179
> freq = 10894
> post div = 0x2
> fb_div = 0x61
> ppll_div_3 = 0x10061
> Console: switching to colour frame buffer device 160x64
>
> This is very annoying because I must re-center the screen every time I
> switch from console to X and viceversa. I had the same issue with the
> old driver + i2c code.
>
> That doesn't happen with the standard modedb. At 1024x768 with
> ignore_edid it's ok. At 1280x1024 it falls back to 800x600.
Can you try tweaking the hSync and vSync polarity ?
Ben.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2003-09-10 17:22 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-07 16:37 New radeonfb, mostly untested Benjamin Herrenschmidt
2003-09-07 17:48 ` Kronos
2003-09-07 18:23 ` Benjamin Herrenschmidt
2003-09-07 18:43 ` Kronos
2003-09-07 18:49 ` Benjamin Herrenschmidt
2003-09-09 17:18 ` James Simmons
2003-09-09 17:54 ` Kronos
2003-09-09 18:13 ` Benjamin Herrenschmidt
2003-09-09 19:24 ` Kronos
2003-09-09 19:37 ` Benjamin Herrenschmidt
2003-09-09 20:45 ` Kronos
2003-09-09 21:07 ` Benjamin Herrenschmidt
2003-09-09 21:52 ` Kronos
2003-09-09 22:08 ` Kronos
2003-09-12 17:44 ` James Simmons
2003-09-12 17:48 ` James Simmons
2003-09-12 22:47 ` Kronos
2003-09-09 20:59 ` Geert Uytterhoeven
2003-09-12 17:46 ` James Simmons
2003-09-07 23:03 ` Kronos
2003-09-08 6:06 ` Benjamin Herrenschmidt
2003-09-08 19:05 ` Kronos
2003-09-10 16:41 ` Kronos
2003-09-10 16:48 ` Benjamin Herrenschmidt [this message]
2003-09-10 17:46 ` Kronos
2003-09-10 17:50 ` Benjamin Herrenschmidt
2003-09-10 18:41 ` Kronos
2003-09-10 21:27 ` Kronos
2003-09-10 21:32 ` Benjamin Herrenschmidt
2003-09-12 17:43 ` James Simmons
2003-09-12 19:36 ` Kronos
2003-09-12 22:20 ` James Simmons
2003-09-12 22:45 ` Kronos
2003-09-14 17:31 ` Kronos
2003-09-14 17:46 ` Benjamin Herrenschmidt
2003-09-14 18:59 ` Kronos
2003-09-15 0:56 ` Tony
2003-09-15 16:00 ` Kronos
2003-09-14 23:59 ` Tony
2003-09-15 15:55 ` Kronos
2003-09-11 6:03 ` Geert Uytterhoeven
2003-09-11 6:38 ` Benjamin Herrenschmidt
2003-09-11 6:55 ` Geert Uytterhoeven
2003-09-11 7:05 ` Benjamin Herrenschmidt
2003-09-12 17:25 ` 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=1063212505.642.77.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=jonsmirl@yahoo.com \
--cc=kronos@kronoz.cjb.net \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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).