linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ondrej Zary <linux@rainbow-software.org>
To: linux-fbdev@vger.kernel.org
Subject: matroxfb - wrong PLL calculation for Mystique and Mystique 220
Date: Fri, 06 Aug 2010 15:35:08 +0000	[thread overview]
Message-ID: <201008061735.09854.linux@rainbow-software.org> (raw)

Hello,
there is a long-standing problem in matroxfb (and also with xf86-video-mga) 
with PLL values calculation. It results in "wavy" vertical lines at least on 
Mystique and Mystique 220, especially where dotted horizontal lines are 
displayed.

On non-220 Mystique in 1024x768@85Hz, matroxfb calculates:
m=0x0f, n=0x69, p=0x00 (producing wavy vertical lines)

Windows driver calculates:
m=0x03, n=0x34, p=0x01 (producing straight vertical lines)

The resulting f_vco from windows values is 189713.5, which is above max_freq 
for this card. So it looks like the assumption that f_vco must be less
or equal to max_freq is wrong. Could someone with access to MGA1064/1164 
documentation look into this?

xf86-video-mga bug (with photos of the screen):
http://bugs.xfree86.org/show_bug.cgi?id\x1314

-- 
Ondrej Zary

                 reply	other threads:[~2010-08-06 15:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201008061735.09854.linux@rainbow-software.org \
    --to=linux@rainbow-software.org \
    --cc=linux-fbdev@vger.kernel.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 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).