All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@hotpop.com>
To: linux-fbdev-devel@lists.sourceforge.net,
	Lucas Correia Villa Real <lucasvr@gobolinux.org>
Subject: Re: Bug on atyfb
Date: Sat, 11 Dec 2004 05:19:19 +0800	[thread overview]
Message-ID: <200412110519.19633.adaplas@hotpop.com> (raw)
In-Reply-To: <200412101844.10577.lucasvr@gobolinux.org>

On Saturday 11 December 2004 04:44, Lucas Correia Villa Real wrote:
> Hi,
>
> I'm trying to use atyfb on 2.6.10-rc3, but I'm getting a kernel oops just
> at modprobe time. By tracking the problem, it seems that 'pll_limits.xclk'
> is the heart of the problem, as seen in line 2210 from atyfb_base.c:
>
> par->xclk_per = 1000000/par->pll_limits.xclk;
>
> It happens that pll_limits.xclk is zero, because of an attribution made on
> line 3246:
>
> par->pll_limits.xclk = pll_block.XCLK_max_freq/100;
>
> pll_block.XCLK_max_freq, in this case, is read from BIOS a few lines above
> (at line 3229, to be more precise), and the value being returned from this
> copy here is 20. So we have a problem, since the result from 20/100 = 0
> will be used as denominator to set par->xclk_per's value.

Buggy BIOS?  Why not skip the init_from_bios() step, since xclk will be
initialized in the function correct_chipset(), just a few lines above?

If that works, perhaps a boot option can be added such as no_bios?

Tony




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

  reply	other threads:[~2004-12-10 21:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-10 20:44 Bug on atyfb Lucas Correia Villa Real
2004-12-10 21:19 ` Antonino A. Daplas [this message]
2004-12-11 16:51   ` Lucas Correia Villa Real
2004-12-11 21:37     ` Ville Syrjälä
2004-12-13  3:30       ` Lucas Correia Villa Real

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=200412110519.19633.adaplas@hotpop.com \
    --to=adaplas@hotpop.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=lucasvr@gobolinux.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.