linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [patch] [radeonfb] Radeon Mobility X700 (M26) and ATOM bios support
Date: Wed, 04 Jan 2006 00:29:31 +0100	[thread overview]
Message-ID: <43BB08DB.4050008@vc.cvut.cz> (raw)
In-Reply-To: <20060103204404.GA23313@shaftnet.org>

Stuffed Crust wrote:
> Signed-off-by:  Solomon Peachy <pizza@shaftnet.org>
> 
> Newer Radeon graphics cards use a different table layout in their 
> BIOSes, known as 'ATOM'.  
> 
> I've attached a patch (against 2.6.15) which implements the PLL and LVDS
> parsing out of the ATOM BIOSes, using the current X.org sources as a
> reference.  Notably absent is the code which detects the connectors and
> TDMS information, but it's of lesser importance at the moment.
> 
> This code still has quirks, but I'm not sure if those are due to bugs in
> my patch or incomplete/buggy support for the RV410.  So I'd appreciate
> it if people could try this out, especially if they have a newer ATOM
> BIOS in their radeon card, and let me know what happens. 

Thanks.  It correctly detects panel size from BIOS, unfortunately it behaves 
like X.org driver (which is probably expected).  I captured video just in case 
it provides some clue to somebody 
(http://platan.vc.cvut.cz/ftp/private/radeon/video.avi).  Otherwise I'll try 
some trial & error session during weekend.

Jan  3 23:58:02 debian kernel: radeonfb_pci_register BEGIN
Jan  3 23:58:02 debian kernel: ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 18 
(level, low) -> IRQ 209
Jan  3 23:58:02 debian kernel: radeonfb (0000:01:00.0): Found 131072k of DDR 128 
bits wide videoram
Jan  3 23:58:02 debian kernel: radeonfb (0000:01:00.0): mapped 16384k videoram
Jan  3 23:58:02 debian kernel: ATOM BIOS detected
Jan  3 23:58:02 debian kernel: radeonfb: Retreived PLL infos from BIOS
Jan  3 23:58:02 debian kernel: radeonfb: Reference=27.00 MHz (RefDiv=14) 
Memory=280.00 Mhz, System=358.00 MHz
Jan  3 23:58:02 debian kernel: radeonfb: PLL min 20000 max 50000
Jan  3 23:58:02 debian kernel: XXXX Write ATOM BIOS connector parse
Jan  3 23:58:02 debian kernel: Starting monitor auto detection...
Jan  3 23:58:02 debian kernel: radeonfb: I2C (port 1) ... not found
Jan  3 23:58:02 debian kernel: radeonfb: I2C (port 2) ... not found
Jan  3 23:58:02 debian kernel: radeonfb: I2C (port 3) ... not found
Jan  3 23:58:02 debian kernel: radeonfb: I2C (port 4) ... not found
Jan  3 23:58:02 debian kernel: radeonfb: I2C (port 2) ... not found
Jan  3 23:58:02 debian kernel: radeonfb: I2C (port 4) ... not found
Jan  3 23:58:02 debian kernel: Non-DDC laptop panel detected
Jan  3 23:58:02 debian kernel: radeonfb: I2C (port 3) ... not found
Jan  3 23:58:02 debian kernel: radeonfb: I2C (port 4) ... not found
Jan  3 23:58:02 debian kernel: radeonfb: Monitor 1 type LCD found
Jan  3 23:58:02 debian kernel: radeonfb: Monitor 2 type CRT found
Jan  3 23:58:02 debian kernel: radeonfb: detected LVDS panel size from BIOS: 
1920x1200
Jan  3 23:58:02 debian kernel: BIOS provided panel power delay: 15369
Jan  3 23:58:02 debian kernel: Setting up default mode based on panel info
Jan  3 23:58:02 debian kernel: radeonfb: Dynamic Clock Power Management enabled
Jan  3 23:58:02 debian kernel: hStart = 2020, hEnd = 2052, hTotal = 2184
Jan  3 23:58:02 debian kernel: vStart = 1202, vEnd = 1208, vTotal = 1235
Jan  3 23:58:02 debian kernel: h_total_disp = 0xef0110^I   hsync_strt_wid = 0x407de
Jan  3 23:58:02 debian kernel: v_total_disp = 0x4af04d2^I   vsync_strt_wid = 0x604b1
Jan  3 23:58:02 debian kernel: pixclock = 6589
Jan  3 23:58:02 debian kernel: freq = 15176
Jan  3 23:58:02 debian kernel: freq = 15176, PLL min = 20000, PLL max = 50000
Jan  3 23:58:02 debian kernel: ref_div = 14, ref_clk = 2700, output_freq = 30352
Jan  3 23:58:02 debian kernel: ref_div = 14, ref_clk = 2700, output_freq = 30352
Jan  3 23:58:02 debian kernel: post div = 0x1
Jan  3 23:58:02 debian kernel: fb_div = 0x9d
Jan  3 23:58:02 debian kernel: ppll_div_3 = 0x1009d
Jan  3 23:58:02 debian kernel: Console: switching to colour frame buffer device 
240x75
Jan  3 23:58:02 debian kernel: radeonfb (0000:01:00.0): ATI Radeon VS
Jan  3 23:58:02 debian kernel: radeonfb_pci_register END

							Thanks,
									Petr



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

  reply	other threads:[~2006-01-03 23:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-03 20:44 [patch] [radeonfb] Radeon Mobility X700 (M26) and ATOM bios support Stuffed Crust
2006-01-03 23:29 ` Petr Vandrovec [this message]
2006-01-05  9:59 ` Benjamin Herrenschmidt
2006-01-05 20:13   ` Stuffed Crust
2006-02-14 21:28 ` Benjamin Herrenschmidt
2006-02-22 22:19   ` Stuffed Crust
2006-02-23  6:09     ` Stuffed Crust
2006-02-23  6:50       ` Benjamin Herrenschmidt
2006-02-23 22:36         ` [patch] [radeonfb] Radeon M26 and ATOM bios support (take 4) Stuffed Crust
2006-02-23 23:15           ` Benjamin Herrenschmidt
2006-03-01  3:33             ` Stuffed Crust
2006-03-01  3:46               ` Benjamin Herrenschmidt
2006-03-01 16:56                 ` Gabor Gombas
2006-03-01 20:36                 ` Stuffed Crust
2006-03-01 21:34                   ` [patch] [radeonfb] Radeon M26 and ATOM bios support (take 5) Stuffed Crust
2006-03-01 21:47                     ` Benjamin Herrenschmidt

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=43BB08DB.4050008@vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --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).