linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nvidiafb: Geforce 7800 series support added
@ 2005-11-05  1:38 Calin A. Culianu
  2005-11-05  3:58 ` Antonino A. Daplas
  0 siblings, 1 reply; 5+ messages in thread
From: Calin A. Culianu @ 2005-11-05  1:38 UTC (permalink / raw)
  To: ajoshi, akpm, adaplas, linux-kernel; +Cc: linux-nvidia, Linus Torvalds

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1316 bytes --]


Hi, this patch replaces a patch I prevously submitted.  The previous patch 
was named:

  nvidiafb-geforce-7800-gtx-support-added.patch

Which was added to the -mm tree on Oct. 25.

Can you replace the above mentioned patch with this one, since it is more 
updated?

This patch replaces the above patch, and is simply a better version of 
that patch with more support for more cards.

Altogether this is an almost trivial patch that simply adds support for 
the Nvidia Geforce 7800 series of cards to the nvidiafb framebuffer 
driver.  All this patch does is add the PCI device id for the 7800, 7800 
GTX, 7800 GO, and 7800 GTX GO cards to the module device table for the 
nvidiafb.ko driver, so that nvidiafb.ko will actually work on these cards.

I also added the relevant PCI device ids to linux/pci_ids.h (I hope noone 
minds).

I tested it on my 7800 GTX here and it works like a charm.  I now can get 
framebuffer support on this card!  Woo hoo!!  Nothing like 200x75 text mode to 
make your eyes BLEED. ;)

This patch is against 2.6.14-rc5.  It should apply against most 2.6 kernels 
though -- not sure which kernel is the standard one to submit patches against.

Should I submit this patch for 2.4 kernel?  I don't even know if that one has 
nvidiafb since I don't run 2.4 much these days..

Thanks!

-Calin

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1793 bytes --]

diff -urN linux-2.6.14-rc5/drivers/video/nvidia/nvidia.c linux-2.6.14-rc5.new/drivers/video/nvidia/nvidia.c
--- linux-2.6.14-rc5/drivers/video/nvidia/nvidia.c	2005-10-20 02:23:05.000000000 -0400
+++ linux-2.6.14-rc5.new/drivers/video/nvidia/nvidia.c	2005-10-25 12:34:07.000000000 -0400
@@ -384,6 +384,14 @@
 	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
 	{PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_6800B_GT,
 	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_7800_GT,
+	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_7800_GTX,
+	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_GO_7800,
+	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_GEFORCE_GO_7800_GTX,
+	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
 	{PCI_VENDOR_ID_NVIDIA, 0x021d,
 	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
 	{PCI_VENDOR_ID_NVIDIA, 0x021e,
diff -urN linux-2.6.14-rc5/include/linux/pci_ids.h linux-2.6.14-rc5.new/include/linux/pci_ids.h
--- linux-2.6.14-rc5/include/linux/pci_ids.h	2005-10-20 02:23:05.000000000 -0400
+++ linux-2.6.14-rc5.new/include/linux/pci_ids.h	2005-10-25 12:39:04.000000000 -0400
@@ -1188,6 +1188,10 @@
 #define PCI_DEVICE_ID_NVIDIA_CK8_AUDIO		0x008a
 #define PCI_DEVICE_ID_NVIDIA_NVENET_5		0x008c
 #define PCI_DEVICE_ID_NVIDIA_NFORCE2S_SATA	0x008e
+#define PCI_DEVICE_ID_NVIDIA_GEFORCE_7800_GT   0x0090
+#define PCI_DEVICE_ID_NVIDIA_GEFORCE_7800_GTX	0x0091
+#define PCI_DEVICE_ID_NVIDIA_GEFORCE_GO_7800   0x0098
+#define PCI_DEVICE_ID_NVIDIA_GEFORCE_GO_7800_GTX 0x0099
 #define PCI_DEVICE_ID_NVIDIA_ITNT2		0x00A0
 #define PCI_DEVICE_ID_GEFORCE_6800A             0x00c1
 #define PCI_DEVICE_ID_GEFORCE_6800A_LE          0x00c2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] nvidiafb: Geforce 7800 series support added
  2005-11-05  1:38 [PATCH] nvidiafb: Geforce 7800 series support added Calin A. Culianu
@ 2005-11-05  3:58 ` Antonino A. Daplas
  2005-11-05  4:09   ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Antonino A. Daplas @ 2005-11-05  3:58 UTC (permalink / raw)
  To: Calin A. Culianu; +Cc: ajoshi, akpm, linux-kernel, linux-nvidia, Linus Torvalds

Calin A. Culianu wrote:
> 
> Hi, this patch replaces a patch I prevously submitted.  The previous
> patch was named:
> 
>  nvidiafb-geforce-7800-gtx-support-added.patch
> 
> Which was added to the -mm tree on Oct. 25.
> 
> Can you replace the above mentioned patch with this one, since it is
> more updated?

If Linus does not merge your patch, you can wait for 2.6.14-mm1 to
come out and diff against that.  And don't forget the signed-off line.

If nobody takes your patch, I'll pick it up.

Tony

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] nvidiafb: Geforce 7800 series support added
  2005-11-05  3:58 ` Antonino A. Daplas
@ 2005-11-05  4:09   ` Andrew Morton
  2005-11-05  6:59     ` Antonino A. Daplas
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2005-11-05  4:09 UTC (permalink / raw)
  To: Antonino A. Daplas; +Cc: calin, ajoshi, linux-kernel, linux-nvidia, torvalds

"Antonino A. Daplas" <adaplas@gmail.com> wrote:
>
> Calin A. Culianu wrote:
> > 
> > Hi, this patch replaces a patch I prevously submitted.  The previous
> > patch was named:
> > 
> >  nvidiafb-geforce-7800-gtx-support-added.patch
> > 
> > Which was added to the -mm tree on Oct. 25.
> > 
> > Can you replace the above mentioned patch with this one, since it is
> > more updated?
> 
> If Linus does not merge your patch, you can wait for 2.6.14-mm1 to
> come out and diff against that.  And don't forget the signed-off line.
> 
> If nobody takes your patch, I'll pick it up.
> 

Is OK, I'm slowly working my way towards it.

I'll take that as an ack ;)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] nvidiafb: Geforce 7800 series support added
  2005-11-05  4:09   ` Andrew Morton
@ 2005-11-05  6:59     ` Antonino A. Daplas
  2005-11-05  7:20       ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Antonino A. Daplas @ 2005-11-05  6:59 UTC (permalink / raw)
  To: Andrew Morton; +Cc: calin, ajoshi, linux-kernel, linux-nvidia, torvalds

Andrew Morton wrote:
>> If nobody takes your patch, I'll pick it up.
>>
> 
> Is OK, I'm slowly working my way towards it.

Thanks. BTW, when's 2.6.14-mm1 coming?

> 
> I'll take that as an ack ;)
> 

Yes.

Tony

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] nvidiafb: Geforce 7800 series support added
  2005-11-05  6:59     ` Antonino A. Daplas
@ 2005-11-05  7:20       ` Andrew Morton
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Morton @ 2005-11-05  7:20 UTC (permalink / raw)
  To: Antonino A. Daplas; +Cc: calin, ajoshi, linux-kernel, linux-nvidia, torvalds

"Antonino A. Daplas" <adaplas@gmail.com> wrote:
>
> Andrew Morton wrote:
> >> If nobody takes your patch, I'll pick it up.
> >>
> > 
> > Is OK, I'm slowly working my way towards it.
> 
> Thanks. BTW, when's 2.6.14-mm1 coming?

gack.  Nearly finished merging the 300-400 patch backlog.  Then I need to
resync with everyone's trees (shudder).  Then I need to fix all the compile
errors (which seem to run at about one-in-ten).  Then I need to get it to
limp to a login prompt on a few machines.

Sunday, if all goes as usual?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-05  7:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-05  1:38 [PATCH] nvidiafb: Geforce 7800 series support added Calin A. Culianu
2005-11-05  3:58 ` Antonino A. Daplas
2005-11-05  4:09   ` Andrew Morton
2005-11-05  6:59     ` Antonino A. Daplas
2005-11-05  7:20       ` Andrew Morton

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).