forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fbdev: intelfb: add support for the Intel Integrated Graphics Control…
…ler 965G/965GM Add support for the 965G and 965GM graphic chipsets to the intelfb driver. I have a notebook with an Intel Mobile GM965/GL960 Integrated Graphics Controller and with the attached patch the framebuffer comes up. I have tested it a bit with DirectFB to make sure it is working stable. I also have an Intel Mobile GM945 and I compared the results, the programming interface of the 9xx series from Intel is mostly the same, so I think the patch should add all the functionality which the 945GM has. Signed-off-by: Maik Broemme <[email protected]> Cc: Dave Airlie <[email protected]> Cc: Antonino Daplas <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Krzysztof Halasa <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
Showing
6 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* intelfb | ||
* | ||
* Linux framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/ | ||
* 945G/945GM integrated graphics chips. | ||
* 945G/945GM/965G/965GM integrated graphics chips. | ||
* | ||
* Copyright © 2002, 2003 David Dawes <[email protected]> | ||
* 2004 Sylvain Meyer | ||
|
@@ -99,6 +99,9 @@ | |
* Add vram option to reserve more memory than stolen by BIOS | ||
* Fix intelfbhw_pan_display typo | ||
* Add __initdata annotations | ||
* | ||
* 04/2008 - Version 0.9.5 | ||
* Add support for 965G/965GM. (Maik Broemme <[email protected]>) | ||
*/ | ||
|
||
#include <linux/module.h> | ||
|
@@ -180,6 +183,8 @@ static struct pci_device_id intelfb_pci_table[] __devinitdata = { | |
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_915GM, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_915GM }, | ||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_945G, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_945G }, | ||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_945GM, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_945GM }, | ||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_965G, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_965G }, | ||
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_965GM, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, INTELFB_CLASS_MASK, INTEL_965GM }, | ||
{ 0, } | ||
}; | ||
|
||
|
@@ -549,7 +554,10 @@ static int __devinit intelfb_pci_register(struct pci_dev *pdev, | |
if ((ent->device == PCI_DEVICE_ID_INTEL_915G) || | ||
(ent->device == PCI_DEVICE_ID_INTEL_915GM) || | ||
(ent->device == PCI_DEVICE_ID_INTEL_945G) || | ||
(ent->device == PCI_DEVICE_ID_INTEL_945GM)) { | ||
(ent->device == PCI_DEVICE_ID_INTEL_945GM) || | ||
(ent->device == PCI_DEVICE_ID_INTEL_965G) || | ||
(ent->device == PCI_DEVICE_ID_INTEL_965GM)) { | ||
|
||
aperture_bar = 2; | ||
mmio_bar = 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters