linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Clint Adams <schizo@debian.org>
To: Sven Luther <sven.luther@wanadoo.fr>
Cc: 226973@bugs.debian.org, linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Bug#226973: xserver-xfree86: [glint] second card at wrong resolution
Date: Tue, 30 Mar 2004 10:32:47 -0500	[thread overview]
Message-ID: <20040330153247.GB11287@scowler.net> (raw)
In-Reply-To: <20040114211643.GA6793@iliana>

This patch helps, though the second head is still a bit fuzzy.
One other thing I've noticed is that the clock range is detected
by X as 16.25 to 110.00 MHz, though the board specs claim a max of
250MHz.

diff -ruN xc-old/programs/Xserver/hw/xfree86/drivers/glint/glint_regs.h xc/programs/Xserver/hw/xfree86/drivers/glint/glint_regs.h
--- xc-old/programs/Xserver/hw/xfree86/drivers/glint/glint_regs.h	2003-01-11 22:55:47.000000000 -0500
+++ xc/programs/Xserver/hw/xfree86/drivers/glint/glint_regs.h	2004-03-30 10:24:35.000000000 -0500
@@ -75,6 +75,10 @@
 			 ((pGlint->PciInfo->subsysCard == 0x0100) ||  \
 			  (pGlint->PciInfo->subsysCard == 0x0002)))
 
+/* Tech-Source Raptor GFX 8P (Permedia 2V) */
+#define IS_TSGFX8P	((pGlint->PciInfo->subsysVendor == 0x1227) && \
+                         (pGlint->PciInfo->subsysCard   == 0x0006))
+
 /**********************************************
 *  GLINT 500TX Configuration Region Registers *
 ***********************************************/
diff -ruN xc-old/programs/Xserver/hw/xfree86/drivers/glint/pm2v_dac.c xc/programs/Xserver/hw/xfree86/drivers/glint/pm2v_dac.c
--- xc-old/programs/Xserver/hw/xfree86/drivers/glint/pm2v_dac.c	2002-05-07 19:15:59.000000000 -0400
+++ xc/programs/Xserver/hw/xfree86/drivers/glint/pm2v_dac.c	2004-03-30 10:25:19.000000000 -0500
@@ -113,21 +113,21 @@
 	Permedia2VPreInitSecondary(pScrn);
     }
 
-#if defined(__alpha__)
+#if defined(__alpha__) || defined(__sparc__)
     /*
      * On Alpha, we have to init secondary PM2V cards, since
      * int10 cannot be run on the OEMed cards with VGA disable
      * jumpers.
      */
     if (!xf86IsPrimaryPci(pGlint->PciInfo)) {
-	if ( IS_QPM2V ) {
+	if ( (IS_QPM2V) || (IS_TSGFX8P) ) {
 
 	    xf86DrvMsg(pScrn->scrnIndex, X_INFO,
 		       "PM2V secondary: initializing\n");
 	    Permedia2VPreInitSecondary(pScrn);
 	}
     }
-#endif /* __alpha__ */
+#endif /* __alpha__ || __sparc__ */
 }
 
 Bool


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

  parent reply	other threads:[~2004-03-30 15:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040109163119.GA10151@scowler.net>
     [not found] ` <20040112121558.GA24511@iliana>
     [not found]   ` <20040112215543.GB2150@scowler.net>
2004-01-13  7:41     ` Bug#226973: xserver-xfree86: [glint] second card at wrong resolution Sven Luther
2004-01-13 15:40       ` Clint Adams
2004-01-13 16:02         ` Sven Luther
2004-01-14 21:06           ` Clint Adams
2004-01-14 21:12             ` Sven Luther
2004-01-14 21:17               ` Clint Adams
2004-01-14 21:12           ` Clint Adams
2004-01-14 21:16             ` Sven Luther
2004-01-15 21:55               ` Clint Adams
2004-01-15 22:47               ` Clint Adams
2004-03-30 15:32               ` Clint Adams [this message]
2004-03-30 16:57                 ` Sven Luther
2004-03-30 23:02                   ` Clint Adams
2004-03-30 23:08                     ` Sven Luther
2004-03-31  8:12                       ` Geert Uytterhoeven
2004-03-31 16:10                         ` Clint Adams
2004-04-01  6:41                           ` Bug#226973: " Branden Robinson
2004-04-01  6:51                             ` Sven Luther
2004-04-01 16:41                               ` Branden Robinson

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=20040330153247.GB11287@scowler.net \
    --to=schizo@debian.org \
    --cc=226973@bugs.debian.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=sven.luther@wanadoo.fr \
    /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).