linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: "Carlo E. Prelz" <fluido@fluido.as>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Mixing g400 dualhead and old Millennium.
Date: Mon, 14 Oct 2002 00:35:07 +0200	[thread overview]
Message-ID: <20021013223507.GA5348@ppc.vc.cvut.cz> (raw)
In-Reply-To: <20021013160746.GA17618@casa.fluido.as>

On Sun, Oct 13, 2002 at 06:07:46PM +0200, Carlo E. Prelz wrote:
> 	Subject: Re: Mixing g400 dualhead and old Millennium.
> 	Date: dom, ott 13, 2002 at 04:56:04 +0200
> 
> Quoting Petr Vandrovec (vandrove@vc.cvut.cz):
> 
> > If you could print return value from register_framebuffer in 
> > matroxfb_dh_regit in matroxfb_crtc2.c, maybe it could reveal
> > problem. Maybe that using non-ac kernel fixes problem too.
> 
> It never reaches register_framebuffer. It leaves dh_regit at tese
> lines:
> 
>         else if (ACCESS_FBINFO(video.len) < mem) {
>                 kfree(d);
>                 return -ENOMEM;
>         }
> 
> ACCESS_FBINFO(video.len) is 2097152. Mem is 8388608.

Really... I did not notice in your original email that it
reports G400 as 2MB only device... Can you send me
output of 'lspci -s X:Y.Z -vvvxxx' (where X:Y.Z is
your G400 device, probably 1:00.0 or 2:00.0) with
2.4.19-pre10, and with Alan version? Alan's version
uses data from BIOS to set memory type, and it
apparently made mistake.

In Alan's kernel you should have option to enable procfs
interface - can you enable it and send me also
contents of /proc/driver/mga/fb*/pins. It is binary
file, if you want, you can parse it by matrox_pins
from ftp://platan.vc.cvut.cz/pub/linux/matrox-latest.
				Thanks,
					Petr Vandrovec
					vandrove@vc.cvut.cz


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  reply	other threads:[~2002-10-13 22:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-12 15:36 Mixing g400 dualhead and old Millennium Carlo E. Prelz
2002-10-13  0:13 ` Petr Vandrovec
2002-10-13 14:15   ` Carlo E. Prelz
2002-10-13 14:56     ` Petr Vandrovec
2002-10-13 15:14       ` Carlo E. Prelz
2002-10-13 16:07       ` Carlo E. Prelz
2002-10-13 22:35         ` Petr Vandrovec [this message]
2002-10-14  5:50           ` Carlo E. Prelz
2002-10-14 12:54             ` Petr Vandrovec
2002-10-14 14:53               ` Carlo E. Prelz

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=20021013223507.GA5348@ppc.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=fluido@fluido.as \
    --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).