From: Lucas Correia Villa Real <lucasvr@gobolinux.org>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: [PATCH] GeForce 5200 on rivafb
Date: Tue, 7 Dec 2004 23:47:23 -0200 [thread overview]
Message-ID: <200412072347.23194.lucasvr@gobolinux.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]
Hi,
I was trying to figure out why my GeForce FX 5200 wasn't being recognized by
rivafb, when I saw that its ID was not being included by the driver.
The following patch (against 2.6.10-rc3) allows it to compile and switch to
graphics mode successfully.
Just a note: the README file shipped with the NVIDIA driver has a complete
list of device ID's. While it's easy to add them all into riva.c and
pci_ids.h, I'm not very sure if it's okay to flood them with #defines and by
increasing heavily the rivafb_pci_tbl table.
Is it ok to do that, or were you waiting to get a feedback from users from
those cards first? I can provide a patch to include all the missing cards if
there's no problem on doing that.
Thanks!
Lucas
[-- Attachment #2: rivafb-geforcefx.patch --]
[-- Type: text/x-diff, Size: 1793 bytes --]
diff -X dontdiff-2.6 -Nur 2.6.10-rc3-vanilla/drivers/video/riva/fbdev.c 2.6.10-rc3-lucasvr/drivers/video/riva/fbdev.c
--- 2.6.10-rc3-vanilla/drivers/video/riva/fbdev.c 2004-12-07 09:58:14.000000000 -0200
+++ 2.6.10-rc3-lucasvr/drivers/video/riva/fbdev.c 2004-12-07 22:45:52.000000000 -0200
@@ -192,6 +192,10 @@
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_QUADRO4_700XGL,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+ { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_5200_ULTRA,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+ { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_5200,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_GO_5200,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ 0, } /* terminate list */
@@ -1876,6 +1880,8 @@
case 0x0300: /* GeForceFX 5800 */
case 0x0310: /* GeForceFX 5600 */
case 0x0320: /* GeForceFX 5200 */
+ case 0x0321: /* GeForceFX 5200 Ultra */
+ case 0x0322: /* GeForceFX 5200 */
case 0x0330: /* GeForceFX 5900 */
case 0x0340: /* GeForceFX 5700 */
arch = NV_ARCH_30;
diff -X dontdiff-2.6 -Nur 2.6.10-rc3-vanilla/include/linux/pci_ids.h 2.6.10-rc3-lucasvr/include/linux/pci_ids.h
--- 2.6.10-rc3-vanilla/include/linux/pci_ids.h 2004-12-07 09:58:25.000000000 -0200
+++ 2.6.10-rc3-lucasvr/include/linux/pci_ids.h 2004-12-07 22:45:29.000000000 -0200
@@ -1144,6 +1144,8 @@
#define PCI_DEVICE_ID_NVIDIA_QUADRO4_900XGL 0x0258
#define PCI_DEVICE_ID_NVIDIA_QUADRO4_750XGL 0x0259
#define PCI_DEVICE_ID_NVIDIA_QUADRO4_700XGL 0x025B
+#define PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_5200_ULTRA 0x0321
+#define PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_5200 0x0322
#define PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_GO_5200 0x0329
#define PCI_VENDOR_ID_IMS 0x10e0
next reply other threads:[~2004-12-08 1:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-08 1:47 Lucas Correia Villa Real [this message]
2004-12-08 12:34 ` [PATCH] GeForce 5200 on rivafb Antonino A. Daplas
2004-12-10 1:46 ` Lucas Correia Villa Real
2004-12-10 20:43 ` Antonino A. Daplas
2004-12-11 3:34 ` Junio C Hamano
2004-12-23 20:48 ` Guido Guenther
-- strict thread matches above, loose matches on Subject: below --
2004-12-11 15:22 Antonino A. Daplas
2004-12-11 18:21 ` Junio C Hamano
2004-12-11 21:11 Antonino A. Daplas
2004-12-12 2:25 ` Junio C Hamano
2004-12-12 10:00 ` Junio C Hamano
2004-12-13 20:52 ` Antonino A. Daplas
2004-12-13 21:47 ` Antonino A. Daplas
2004-12-14 7:51 ` Junio C Hamano
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=200412072347.23194.lucasvr@gobolinux.org \
--to=lucasvr@gobolinux.org \
--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 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.