From: David Vrabel <dvrabel@arcom.com>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: geodefb issues, possible patch
Date: Fri, 11 Nov 2005 13:25:27 +0000 [thread overview]
Message-ID: <43749BC7.8030705@arcom.com> (raw)
In-Reply-To: <eb77d7060511110405i13b8bc8aw335147185398cd22@mail.gmail.com>
Jorge Luis Zapata Muga wrote:
>
> i am having problems with the geode fb driver in 2.6 kernels. it seems
> that it cant ioremap the video registers. ive debug a little bit of
> code and compared it to the
> previous kernel tree (2.4) geode fb driver amd (i think) provided. the
> old driver works perfectly on my SBP.
What CPU and companion chip is on this board? The current 2.6 driver
only supports the Geode GX1 with CS5530A.
What kernel version are you using?
> ok here are the things i found:
> * when requesting the pci regions all the pci_resource_start,
> pci_resource_len return 0's
Can you send the output of 'lspci -vvv -x' for the companion chip video
device?
> * the hardcoded offsets for mapping are different from what i found in
> the other driver, ive changed them to the older values. (to map the
> video reg, display controller reg, and the fb memory)
Er. I doubt this is the correct thing to do since the driver matches the
GX1 data sheet.
> * the display controller functions to blank the screen, configure
> display, set clock freq, etc used the vid_regs for writel readl
> instead (as seen in the other driver) of the dc_vid (display
> controller registers).
I don't follow you here. The display controller has nothing to do with
the DCLK frequency nor blanking the screen -- that's purely a function
of the video device in the companion chip.
> i have a patch if someone is interested. the problem is that i dont
> know what else to do, as i cant debug (with printf's) the driver as i
> dont have a screen, how does a fb driver gets debugged?
I use a serial console.
> does this driver actually works?
It works on the board I have.
> maybe i have an issue with the pci detection?
It's possible that the BIOS not correctly initializing all PCI devices
correctly. I don't really know a whole lot about PCI on x86 platforms,
though.
David Vrabel
ps. I'd suggest ignoring the old 2.4 driver for the most part since it's
crap and very hard to follow -- refer to the datasheets instead.
--
David Vrabel, Design Engineer
Arcom, Clifton Road Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK Web: http://www.arcom.com/
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
next prev parent reply other threads:[~2005-11-11 13:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-11 12:05 geodefb issues, possible patch Jorge Luis Zapata Muga
2005-11-11 13:25 ` David Vrabel [this message]
2005-11-12 1:30 ` Jorge Luis Zapata Muga
2005-11-14 13:52 ` David Vrabel
2005-11-15 2:23 ` Jorge Luis Zapata Muga
2005-11-12 7:37 ` Knut Petersen
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=43749BC7.8030705@arcom.com \
--to=dvrabel@arcom.com \
--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 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.