linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: Ville Syrjaelae <syrjala@sci.fi>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Another problem, seemingly coming f
Date: Wed, 16 Oct 2002 16:25:20 +0200	[thread overview]
Message-ID: <4C636B97ED1@vcnet.vc.cvut.cz> (raw)

On 16 Oct 02 at 11:59, Ville Syrjälä wrote:

> On Wed, Oct 16, 2002 at 09:00:27AM +0200, Petr Vandrovec wrote:
> > Ah, these ones... What pixclocks do you use? It is like if CRTC2 has
> > not enough memory bandwidth available, and so it displays stale data.
>
> Can the CRTC high priority stuff affect this? Does matroxfb touch the
> priority registers?

Yes, matroxfb sets them to default values, recommended for low pixclock
rates. You must set them when you initialize hardware after poweron.

> > Only problem I can think of is that system VCO frequency is always set
> > to 133333 kHz (for G100/200/400) in matroxfb_DAC1064.c. Your PINS
> > suggest that 200MHz are correct system clocks for your chip.
>
> What do you think about making matroxfb do clock setup accrding to PINS?
> XFree86 mga driver does it own clock setup but DirectFB matrox driver
> does not. I'm pretty sure increasing the clocks would provide some
> speed benefits since the BIOS default clocks are pretty low.

I'll not use other clocks than specified in the BIOS (BIOS uses value
specified in PINS). It is highest rate Matrox says to use. That Matrox
windows drivers use higher frequency is another story: they have access
to other information than I have, and so they can select highest system
clock from chip revision, serial number and other values...

On G450/G550 I use frequency specified in BIOS PINS. G400 (and older)
historically used hardwired values in matroxfb, and because of I do not
use them regulary anymore, I try to not touch their initialization code
(and as you can saw, even then I had mistake in G400 initialization...
unfortunately testing powerup initialization requires plugging in another
videocard, unplugging powercord, and then trying again and again...).

If you'll cook and test patch which will set system clocks on G400
according to the value specified in the BIOS, or if you'll create
patch which will add ioctl() or some other operation to set system
PLL, I'll apply it without problem (if code is correct, changing
system PLL is not trivial operation).
                                            Petr Vandrovec
                                            vandrove@vc.cvut.cz



-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm

             reply	other threads:[~2002-10-16 14:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-16 14:25 Petr Vandrovec [this message]
2002-10-16 18:40 ` Another problem, seemingly coming f Ville Syrjälä
  -- strict thread matches above, loose matches on Subject: below --
2002-10-16  7:00 Petr Vandrovec
2002-10-16  8:59 ` Ville Syrjälä
2002-10-16 10:16 ` Carlo E. Prelz
2002-10-15 15:36 Petr Vandrovec
2002-10-15 10:59 Petr Vandrovec

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=4C636B97ED1@vcnet.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=syrjala@sci.fi \
    /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).